Repository navigation
Commit 9bdc384
fix(scripts): route check-closing-target-claim through the proxy, and make a transport failure speak (#18998)
Fixes #18947
Clause-②: no
`scripts/check-closing-target-claim.mjs` read GitHub through node's
global `fetch`
with no proxy route. In an agent container api.github.com is reachable
only through
the session proxy — which is also where the credential is injected — and
`fetch`
does not read the proxy variables, so every request arrived
uncredentialled and
GitHub answered 401. This gate folded that 401 into a per-target
`UNDETERMINED` at
**exit 0**: honest in prose, green in the one thing a derived-gate sweep
records.
Two commits, in the order the triage asks for: the route, then the
negative control.
## Before / after / control — this container, transcripts
Exit codes captured with redirect-then-`$?`; no token is printed by any
leg.
1 parent d4cb05c commit 9bdc384
1 file changed
Lines changed: 336 additions & 20 deletions
0 commit comments