Commit 0079e25
ci(devx): run measure-stall-guard-headroom's --self-test in the lint farm (#13358)
The stall-guard family has three members and only two were wired. Its
measurement tool ships a `--self-test` that drives the real `main()` over
fixture payloads and fixture workflow trees, and no `check:*` family ran it,
so its 32 assertions never executed in CI.
The header's stated reason for keeping the tool out of the farm -- "it needs
the network and a token" -- is true of the TOOL and false of the FLAG. The
flag takes no `--run`, which makes `fetchRunJobs` unreachable from it.
Measured with net.Socket.connect, net.connect, dns.lookup and globalThis.fetch
all armed to throw and with GITHUB_TOKEN/GH_TOKEN unset: 32 assertions passed,
~1.5s, no build, no socket.
Wires ONLY the self-test leg. The two siblings run `--self-test && the gate`;
appending a bare invocation here would red the farm on a token-less runner,
and the header now records that asymmetry so the next reader does not tidy it
away.
Claude-Session: https://claude.ai/code/session_01CPrUz21stTFhJRUirdc4yw
Co-authored-by: Claude <noreply@anthropic.com>1 parent d029c31 commit 0079e25
3 files changed
Lines changed: 57 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3470 | 3470 | | |
3471 | 3471 | | |
3472 | 3472 | | |
| 3473 | + | |
| 3474 | + | |
| 3475 | + | |
| 3476 | + | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
| 3505 | + | |
| 3506 | + | |
| 3507 | + | |
| 3508 | + | |
| 3509 | + | |
| 3510 | + | |
| 3511 | + | |
| 3512 | + | |
3473 | 3513 | | |
3474 | 3514 | | |
3475 | 3515 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
112 | 123 | | |
113 | 124 | | |
114 | 125 | | |
| |||
0 commit comments