Repository navigation
CI: Ground Truth select mode for mutation-data-only PRs (Part of #7963) - #8052
Conversation
A PR of only det_mutation / det_mutation_survivors JSON ran the full Ground Truth check (18 of #8047's 40 runner-min). It now plans mode select: one part runs only the test files that read that data, with no ledger gate and no all-corpora scan. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ecks (Part of #7963) The mutation-data-only plan test asserted ground truth stays full; it now asserts select, and the select tests live beside it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #8052 @ 6406a1c: 1 failed check(s) == full-suite part 3/3 (failure) -- real |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (cc1c385) is not the one a maintainer labelled |
|
No description provided. |
|
PR #8052 @ cc1c385: 11 failed check(s) == db2 (cancelled) -- infra == equivalence-e2e (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == full-suite part 3/3 (failure) -- main == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
PR #8052 @ cc1c385: 11 failed check(s) == db2 (cancelled) -- infra == equivalence-e2e (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == full-suite part 3/3 (failure) -- main == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
…, fixes test_source_reads (Part of #7963) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (8ffb9e6) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #7963
Checklist: partial [c:494af16c] -- sample is 1 of 10 lane PRs (#8047, 40 runner-min vs 52.8); this adds the next lever, the first live figure for it needs the next mutation-data PR, and 9 more lane PRs (or owner acceptance) are still needed.
What
A PR of only
tests/equivalence/det_mutation//det_mutation_survivors/JSON ran Ground Truthfull(18 of #8047's 40 runner-min).ground_truth_plan.pynow plans modeselectfor it and emits the reader test files (mutation_readers(): files intests/cobol_mainframe/that name the data or import atests/toolsmodule that does, 19 of 449).ci_layout.pygivesselectone part in matrix group 2, so part 1's ledger gate and all-corpora scan do not run. The workflow runs only the listed tests (SELECT_TESTS) in the collect and pytest steps; everything else is unchanged. Push, nightly and manual runs stay full; any other file in the diff stays full.Workflow diff review
Only
mainframe-ground-truth.yml: newtestsplan output, twoSELECT_TESTSenv vars (from our own scan, via env, not interpolated into the script), twoif [ -n "$SELECT_TESTS" ]branches. The requiredground-truthjob passes as before (warm planned false, part success).Tests
tests/tools/test_docs_only_required_checks.py: its #7963 plan test now assertsselect(wasfull), plus four new tests: select vs full (code file, other data), every test file naming the data is selected, layout/matrix and workflow wiring, GitHub-outputtests=. Ran withtest_ground_truth_planandtest_ci_critical_path_split: 106 passed.pr_gates --fastfirst caught the oldfullassertion (fixed);audit_check.pyall clear. After the gate's pre-review: regenerateddocs_read_by_tests.txt(generated; my test namesdet_mutation/notes.md), merged main,pr_gates --fast9/9.CI cost (rule 5)
Moves only mutation-data-only PRs (2 of 32 in the earlier replay, ~6%); saving estimated at most the 18 Ground Truth min of 40 on #8047 (not yet measured live). Adds no job.
Sibling gaps
mutation_readersis one import level, not transitive (144 files); a deeper reader is caught by main's always-full runs. No burned-estate program needs it.Remaining
Measure the next lane PRs; then tick on 10 or owner acceptance.
Lessons for agents
read_sourcereturns aSourceText, notstr: wrap instr()forin/re.🤖 Generated with Claude Code