Commit 52a17f9
fix(ci): scan-and-report — dispatch payload via file, not argv (fixes downstream 'Argument list too long')
On large repos the scan JSON inlined into curl's -d argument overflows
the kernel argv limit — curl exits 126 and every consumer's Security
Scan goes red (e.g. echidna run 28736074871). Build the payload with jq
into a file and send with --data @file.
Also handle GitHub's ~64KB repository_dispatch client_payload cap:
oversized reports (the same repos that hit the argv limit) now fall
back to a counts-only summary (statistics + severity histogram,
truncated: true) instead of a hard 422.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 5f45330 commit 52a17f9
1 file changed
Lines changed: 26 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
51 | 75 | | |
52 | 76 | | |
53 | 77 | | |
54 | 78 | | |
55 | 79 | | |
56 | | - | |
| 80 | + | |
57 | 81 | | |
0 commit comments