Repository navigation
Ground Truth: plan job proves nothing when a PR changes no input (Part of #5164) - #5165
Conversation
…ut (Part of #5164) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
PR #5165 @ a877a14: 1 failed check(s) == full-suite part 3/3 (failure) -- real |
… (Part of #5164) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (eb07011) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #5164
What
ground-truthstays a required check that always reports, but a newplanjob (tests/tools/ground_truth_plan.py, the Det Sweep pattern of #4825) decides first: when every changed file is a provable non-input, bothground-truth-partjobs are skipped and the aggregate passes (about a minute). Any other file is an input and runs the full check. Push, nightly and dispatch are always full; an empty/unreadable diff or a failed plan job also runs in full (an emptymodeis notnone). The #5151 split (parts 1/2,ground-truthaggregate,publish-historyneeds it) is unchanged.The classifier is an allow-list of what the job does not read (INPUTS win, an unlisted file is an input), because the job reads the whole engine plus tests/tools transitively. Non-inputs:
docs/**exceptdocs/language_status/**(register, rule catalogue and cics spec are read by tests) and the history file;*.mdoutsidegitgalaxy//tests/cobol_mainframe/;.claude/;.github/except the three workflows tests read; churn/shepherd/CI-digest tooling intests/tools;tests/tools/test_*.py(not run by the job) except four modules a cobol test imports; test dirs the job does not run.Tests
tests/tools/test_ground_truth_plan.py: skip direction (20 paths), run direction (27 paths incl. unknown files), mixed, non-PR events, empty diff, CLI + unreadable diff; a guard that no skippable tool is reached (word-reference closure) fromtests/cobol_mainframe/or the ledger tool; workflow wiring of the required check.Before / after
Last 99 merged PRs (changed files via
gh): 10 of 99 (10%) would have skipped (9 under the first draft of the list). The honest result: most PRs touchgitgalaxy/ortests/cobol_mainframe/. Saving per skipped run ~ 303 runner-min / 37 runs ~ 8 min billed (parts ran ~16 min wall on 2 runners), so ~ 10% of ~303 runner-min per 3 h ~ 30 runner-min per 3 h at current volume. The next biggest blockers among the rest: workflow edits tojava-compile.yml/det-sweep.yml/mainframe-ground-truth.yml,tests/tools/{proof_blockers,pr_check,ci_digest}.py,tests/cics_crucible/. They stay inputs (in the tests' import closure or in doubt).Cross-repo
None.
🤖 Generated with Claude Code