Repository navigation
Description
Owner priority (2026-10-23): top priority, ahead of the DOOM call-graph work. CI capacity is the factory's bottleneck; every runner-minute saved here speeds every other lane.
Measured cost (PR runs 2026-10-23 14:05Z–17:40Z: 600 runs, 29 PR branches)
2,646 runner-min, about 91 runner-min per PR. 208 of the 600 runs had no job that did work (all skipped).
| Where it goes | Share | Note |
|---|---|---|
Det Sweep db2 shards |
17% | avg 11.2 min/job; ran on docs/ladder-slice-skill (one .claude/skills/*/SKILL.md) |
| Mainframe Ground Truth | 15% | ran on nearly every PR, incl. ones touching only tests/tools/test_zos_probes.py + zos_probes.json, port_blockers.json, .claude/settings.json, tests/tools/ladder_refresh.py |
| Full suite (3 parts) | 12% | always the whole suite |
| Det Sweep other jobs | 12% | det_sweep_plan.py errs to running |
| CICS crucible + Java compiles + ports compile | 16% | path filters only |
| Re-runs per push | — | e.g. churn/5274-20261023T1352Z: db2 13 jobs, ground-truth 14, full-suite 10 (3 pushes) |
Docs specifically, PR #6245 (4 Markdown files under .claude/, no code) ran 8 workflows / 18 jobs: smoke-test (full suite), gitgalaxy, det-sweep, mainframe-ground-truth, muninn, mypy-audit, ruff-audit, small-audits. Only 8 of 38 PR workflows have any docs filter.
And a correctness gap the other way: 257 test files read files under docs/ (136 refs to docs/language_status/, 44 to docs/self_scan/, docs/research/ via study_report.py --check, .claude/ rules via test_agent_guardrail.py), yet smoke-test and gitgalaxy paths-ignore: docs/**. A PR that edits a register entry skips the tests that read it.
Change: one change classifier, consumed by every PR workflow
A changes step (shared module under tests/tools/, the pattern det_sweep_plan.py / ground_truth_plan.py already use) maps the PR's changed paths to areas; each workflow's plan job asks "does any changed area reach me?". Required checks still report (a plan that says "none" passes the check; no workflow-level paths-ignore on required checks).
Areas, derived not hand-kept where possible:
prose: Markdown/docs no test reads (README.md,docs/en/,docs/wiki/, ...).test-read docs: every path a test opens (generated by scanningtests/fordocs/...,.claude/...,*.mdreferences; committed list + freshness test).agent-config:.claude/**,CLAUDE.md(only the tests that read them).test-tooling:tests/tools/**(+ its own tests); reaches a heavy job only if that job imports the changed module.- engine / translator / runtime areas from the import graph of
gitgalaxy/(cobolrt Java, det, cics, dli, db2, standards, ...), mapped to the jobs that exercise them.
Slices (each ≤ 5 hand-written files, each with tests that pin what may be skipped)
- 1. Classifier module + generated "docs read by tests" list + freshness test; wire ground-truth (
ground_truth_plan.py) as first consumer: skip on prose / agent-config / test-tooling-only / data-only PRs that no ground-truth case reads. (ground_truth_plan: every docs/ path asks the change classifier (Part of #6278) #6340) - 2. Det Sweep + db2:
det_sweep_plan.pyuses the classifier; db2 shards only when db2 / det-translator / cobolrt areas or a Db2 case changed. (tests/tools: Det Sweep's Db2 runners follow the Db2 area (Part of #6278) #6293) - 3. smoke-test full suite: prose-only → report success without running; test-read docs / agent-config only → run only the tests that read those paths; drop
paths-ignore: docs/**fromsmoke-testandgitgalaxy. (suite_select_plan.py: --replay N and the measured select share (Part of #6278) #6642) - 4. Remaining PR workflows (muninn, mypy, ruff, small-audits, Zero-Trust, CICS crucible, Java/ports compile, fact cross-check, unicode-gauntlet, rosetta-audit): each consults the classifier. (CI: small-audits skips README / register / .claude PRs (Part of #6278, item 4) #6976)
- 5. Affected-test selection in the full suite: run only tests reachable from changed modules (import graph, or a nightly per-test coverage map); full run stays nightly + post-merge as the net. (suite_select_plan: golden-master snapshots select the tests that name the fixture or golden_store (Part of #6278, item 5, slice 13) #7061)
- 6. Push re-runs: intermediate pushes run cheap gates only; heavy jobs run once the PR is review-approved /
shepherd:merge(extend the ci: draft PRs skip the heavy PR workflows (free-tier runner pool saturated by churn WIP pushes) #5104 draft rule). (shepherd: a dropped head goes back to draft, so fix rounds run cheap audits only (Part of #6278) #6972)
Acceptance
- Replays: Weekly agent retro 2026-10-23b (Part of #5399) #6245's file list and a
README.md-only change run ≤ 3 light jobs; adocs/language_status/register/*.mdchange runs the tests that read it; atests/tools/test_zos_probes.py-only change runs no ground-truth / det / db2. (ci: replay test for #6278 acceptance through every PR plan (Part of #6278) #7067) - Runner-min per PR re-measured over a comparable window after slices 1–3 and after 6, posted here (baseline: 91 min/PR). (docs/ci.md: #6278 re-measure (93.1 runner-min/PR) and acceptance replays (Part of #6278) #6872)
- No skip without a test naming what it skips; nightly full run unchanged. (tests/tools: shared change classifier, ground_truth_plan skips unread docs and unreached tools (Part of #6278) #6288)
Workflow edits are allowed for this issue (owner 2026-10-23). Related: CI: trim PR smoke to ubuntu, pip cache, filter muninn and ground-truth (audit R1+R2) #4520, CI v2: required checks + merge queue, generated data off main (one writer), prove only what moved, one PR workflow #4825, ci: draft PRs skip the heavy PR workflows (free-tier runner pool saturated by churn WIP pushes) #5104, Full-suite test time: ReDoS/contract sweeps are 32% of the suite; gate them on PRs, add a slow-test budget, trim the top 10 #5166, Muninn Security Scan: 7 min on most code PRs, scope the PR scan #5499, CI shepherd: a permanent auto-merge refusal (token lacks workflow scope) fails every pass and flaps needs-fix -> run storm #6061.
🤖 Generated with Claude Code
Activity
[-]CI: docs-aware path classifier — prose-only PRs skip the heavy suite; docs that tests read still run those tests[/-][+]CI cost: one change classifier so each PR runs only the jobs and tests it can affect (docs, ground-truth, det/db2, suite, re-runs)[/+]tests/tools: shared change classifier, ground_truth_plan skips unread…
squid-protocol commentedon Oct 23, 2026
#6288 merged: a partial slice of [c:a9d05f0b] "1. Classifier module + generated "docs read by tests" list + freshness test; wire ground-truth (
ground_truth_plan.py) as first consumer: skip on prose / agent-config / test-tooling-only / data-o"; left: slice 1 only; plan jobs other than ground-truth still use their own lists (promoter-bot)tests/tools: Det Sweep's Db2 runners follow the Db2 area (Part of #6278…
tests/tools: the Smoke full suite follows the classifier area() (Part…
squid-protocol commentedon Oct 23, 2026
#6295 merged: a partial slice of [c:2c9c72d8] "3. smoke-test full suite: prose-only → report success without running; test-read docs / agent-config only → run only the tests that read those paths; drop
paths-ignore: docs/**fromsmoke-test"; left: the planner is done; wiring it into smoke-test.yml (plan step, pytest args,full-suitestill reporting onskip) and droppingpaths-ignore: docs/**is a workflow edit, not authorized in this brief. (promoter-bot)smoke-test: suite-plan job carries the draft condition (Part of #6278,…
Smoke full suite follows the suite plan: skip / select / full (Part of …
ruff-audit, mypy-audit, small-audits skip for docs they cannot read (…
92 remaining items
suite_select_plan: .github/workflows/*.yml select the tests that name…
squid-protocol commentedon Oct 30, 2026
#7051 merged: a partial slice of [c:cc68bcd4] "5. Affected-test selection in the full suite: run only tests reachable from changed modules (import graph, or a nightly per-test coverage map); full run stays nightly + post-merge as the net."; left:
<case>/case.jsondata, non-Pythontests/toolsfiles, golden-master snapshots, other.github/files and the unmapped runtime Java files still planfull. (promoter-bot)suite_select_plan: tests/tools data and scripts select the tests that…
squid-protocol commentedon Oct 30, 2026
#7057 merged: a partial slice of [c:cc68bcd4] "5. Affected-test selection in the full suite: run only tests reachable from changed modules (import graph, or a nightly per-test coverage map); full run stays nightly + post-merge as the net."; left: engine PRs that also change an equivalence
case.json, golden-master snapshots or unmapped det runtime files still planfull; re-measure of runner-min per PR is open. (promoter-bot)suite_select_plan: equivalence case.json / evidence.json select the t…
squid-protocol commentedon Oct 30, 2026
#7060 merged: a partial slice of [c:cc68bcd4] "5. Affected-test selection in the full suite: run only tests reachable from changed modules (import graph, or a nightly per-test coverage map); full run stays nightly + post-merge as the net."; left: golden-master snapshots,
doom_speedrun/callgraph_baseline.json, case fixtures and the other det runtime files still planfull; the runner-min per PR re-measure is open. (promoter-bot)suite_select_plan: golden-master snapshots select the tests that name…
squid-protocol commentedon Oct 30, 2026
Claimed by promoter-bot host
nyx, lease renewed 2026-10-30T02:41Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:nyxlabel.ci: replay test for #6278 acceptance (#6245 files, README, register, …
squid-protocol commentedon Oct 30, 2026
All six slices and all three acceptance boxes are done (last: #7067, the replay test over #6245's file list, README-only, register and test_zos_probes-only path sets). Sibling gaps from #7067 (README.md-only over-selecting tests/core_engine; deploy-docs/referee-panel unexamined) are finer tuning, not acceptance.
suite_select_plan: HELPER_MAX 120 to 140, the case.json name is now r…
det: the COMP-1/2/5 overlap refusal names how the bytes overlap (Part…