Repository navigation
CI network inventory: every fetch step by kind and guard (Part of #8424) - #8581
Merged
Merged
Conversation
…nd freshness-tested (Part of #8424) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Nov 17, 2026
…y test_maven_exe_4939 (#8586) test_no_bare_launcher_argv_in_tests_tools flags any list or tuple literal whose first element is a shim launcher name. #8581 added the inventory's (kind, regex) table, whose npm row starts with the constant "npm": a label, not an argv. The full-suite part that runs tests/tools failed on every PR since (main's push checks do not run that part, so main itself looked green). Rename the kind to "node-packages", regenerate docs/ci_network_inventory.md, follow the label in the kind test. Claude-Session: https://claude.ai/code/session_018srRveGdV73aUiuqkipAic Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8424. Checklist: done [c:52afc1bf]
What
Inventory of every network step in
.github/workflows/(54 files):tests/tools/ci_network_inventory.pyparses each step and classifies the fetch kind (pip, apt, npm, toolchain, docker, maven/gradle, git fetch/clone, curl/wget, gh download, gh api, grammar, artifact up/down, cache, setup-*) and its guard (wrappedviaci_retry.sh,advisoryviacontinue-on-error,in-tool,action,bare). The generateddocs/ci_network_inventory.mdis the posted list; a test fails when it is stale, so the backlog can only change on purpose.Counts (rows = workflow/job/step/kind): wrapped 45, advisory 73, in-tool 54, action 219, bare 110 (pip 58, gh-api 27, docker 10, git-fetch 13, maven/gradle 1, gh-download 1).
Class
An unmodelled network fetch in a workflow step or a tool a workflow calls. The class is swept as a classifier over all kinds, not one mechanism.
Sibling gaps (no burned-estate program needs these; all are infra/sweep scope)
pip installsteps (only the hash-pinned ones are wrapped).docker build/loadsteps for the oracle image (det-sweep.yml,equivalence-e2e.yml,cics-crucible.yml, ...): build runs apt, noci_retry.sh.git fetch/clone(plan jobs, referee-panel installs).mvn,gh release download).gh apisteps (27) are advisory-by-nature but not marked non-fatal.action(fail the step on a miss); only 4 are advisory (CI: a test-times artifact upload is non-fatal and bounded (Part of #8328) #8332 shape).ports-compile.ymlgrammar prefetch (already EXEMPT intest_translator_pack_prefetch.py).Remaining slices of #8424
ci_retry.shcovers retry and the marker today.Limits: line-level heuristic over parsed YAML, not a shell parser;
docker runimplicit pulls and fetches inside Python tools beyond the namedTOOL_RETRYlist are not counted.Facts checked
pytesttest_ci_network_inventory.py + test_ci_retry.py: 60 passed;audit_check.py: all clear;pr_gates --fast: 9/9 afterchange_classifier.py --write(docs_read_by_tests.txt, generated). No engine code touched: no golden bless.Lessons for agents
A new doc under
docs/that a tools script reads needschange_classifier.py --write(docs_read_by_tests.txt) orpr_gatesderivedfails.🤖 Generated with Claude Code