You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[deep-report] Sweep gh ... | head -n N SIGPIPE pattern across all workflow lock files #33788
#33769 identified that Matt Pocock Skills Reviewer fails its Pre-fetch PR diff step with exit code 141 (SIGPIPE) when the PR diff exceeds 3000 lines. The root cause is the set -o pipefail + gh pr diff ... | head -n 3000 shape: head closes its stdin early, gh receives SIGPIPE on its next write, and pipefail propagates 141.
That fix patches one workflow. The shape is likely present in other generated .lock.yml files — exactly the workflows that should be most defensive against large diffs.
Quick-win task
grep -rnE '\| (head|tail)( |$)' .github/workflows/*.lock.yml .github/workflows/*.md and triage hits.
For each match that runs under set -o pipefail, apply the same pattern: either { cmd || true; } | head -n N, or write to a temp file and truncate.
Patch source .md files (not .lock.yml) and re-compile.
Success criteria
All | head / | tail usages either are not under pipefail or tolerate SIGPIPE.
No new step-exit-141 failures from large-input branches in the next 7 days.
Activity
github-actions commentedon May 23, 2026
This issue was automatically closed because it expired on 2026-05-23T16:03:20.377Z.