Repository navigation
ci: sweeps skip engine parts outside their import closure; PRs run tests/cobol_mainframe once (Part of #5166) - #5225
Merged
Conversation
…sts/cobol_mainframe once, in Ground Truth (Part of #5166) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 16, 2026 07:37
squid-protocol
enabled auto-merge (squash)
October 16, 2026 07:37
Contributor
This was referenced Oct 23, 2026
Merged
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 #5166 (remaining boxes after #5191 / #5179).
What
Two ways a PR stops paying for tests it cannot affect or that another required job already runs. Main push, nightly, manual and
full-suite-gate.ymlstill run every test.ENGINE_NON_INPUTSintests/tools/sweep_plan.py:gitgalaxy/tools/cobol_to_java/,gitgalaxy/tools/terabyte_log_scanning/,gitgalaxy/standards/cics/and the two COBOL controllers are no longer sweep inputs. None is in the static import closure oftests/extraction.test_no_engine_non_input_is_in_the_sweeps_import_closurerecomputes that closure (function-level imports and parent packages included) and fails if a listed path enters it. Still an allow-list: anything unlisted stays an input.tests/cobol_mainframe/once on PRs.mainframe-ground-truth.ymlruns the whole directory whenever a ground-truth input changed, and a PR that changed none cannot move it. The full-suite plan step writesPYTEST_ADDOPTS=--ignore=tests/cobol_mainframeto$GITHUB_ENVonpull_requestonly. The pytest command line andmarksarray are untouched (CI critical path: full-suite parts balanced by least_duration, durations refreshed (Part of #5133, #5162) #5223 edits that line). Workflow edit: oneifappended to the existing plan step insmoke-test.yml.Class table
tests/cobol_mainframeduplicated in full-suite and Ground Truthcultural_gauntlet,test_unicode_gauntlet,test_scan_path_independence_4058gitgalaxy/**, little to gaincore_engine*_redos_sweep(~0.1 min)Seconds (modeled from
.test_durations; CI wall times need a run)tests/cobol_mainframe20.2.tests/minus evidence_components: 21397 on main/nightly, 16388 on a PR (the 5009 are all intests/cobol_mainframe, which Ground Truth runs).Tests / gates
tests/tools/test_sweep_plan.py: 81 pass (plainpytestfrom/tmp): each new non-input family, a mixed diff, the closure guard, workflow structure (PR only, not on the pytest line, Ground Truth still runs the whole directory).pr_gates --fast6/6;--ratchets8 pass, 0 fail, 0 skipped. No golden bless.Cross-repo
None.
docs/ci.mdalso edited by #5223: merge main, not rebase.Lessons for agents
PYTEST_ADDOPTSvia$GITHUB_ENVadds pytest options without touching a contended command line.🤖 Generated with Claude Code