Repository navigation
fix: ignore test-only network CI guard lines - #99233
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 2, 2026, 5:07 PM ET / 21:07 UTC. Summary PR surface: Tests +3, Config +1. Total +4 across 2 files. Reproducibility: yes. Current main selects Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the guard alignment after secops or maintainer review accepts excluding test files from the fast network-runtime added-line scan while keeping production paths guarded. Do we have a high-confidence way to reproduce the issue? Yes. Current main selects Is this the best way to solve the issue? Yes. Filtering test filenames before scanning added lines is the narrowest maintainable fix because the existing shard selector already excludes test files while production sensitive-path additions still reach the grep. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 968aa51b8000. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +3, Config +1. Total +4 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Related: #98951
What Problem This Solves
Resolves a problem where the network runtime critical-quality PR scan fails on test-only
NO_PROXYassertions undersrc/infra/net/**, even when the production network runtime path is unchanged.Why This Change Was Made
The fast PR scan should continue to require review for sensitive production network-runtime additions, but test files should be allowed to name proxy environment variables when they are proving the intended boundary behavior. This keeps the guard focused on runtime changes without making SSRF/proxy tests obscure their assertions.
AI-assisted: yes.
User Impact
No direct user-visible behavior changes. Maintainers can land network-boundary regression tests without tripping the production-sensitive-line guard solely because the test names or stubs
NO_PROXY.Evidence
pnpm test test/scripts/ci-workflow-guards.test.tspnpm exec oxfmt --check test/scripts/ci-workflow-guards.test.tspnpm exec actionlint .github/workflows/codeql-critical-quality.ymlgit diff --check