Repository navigation
CI: Smoke skips tests/cobol_mainframe on main pushes; nightly gate drops ubuntu/3.12 (Part of #5953) - #6495
Conversation
…ops ubuntu/3.12 (Part of #5953) Ground Truth runs the whole directory on every push, and the nightly Smoke is the same suite as the gate's ubuntu/3.12 leg. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6495 @ de4324b: 1 failed check(s) == full-suite part 2/3 (failure) -- real |
…5953) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
…mporters included (#6733) (#6736) * pr_gates: `affected` gate -- run the test files a branch can break, importers included (#6733) tests/tools/affected_tests.py selects every test file whose imports reach a changed .py file (an ast scan of tests/ and gitgalaxy/: gitgalaxy.* imports, bare tests/tools and harness imports, strings naming a .py tool), the readers of changed docs (docs_read_by_tests.txt) and the .py files that name any other changed file (a workflow, a case's data, a runtime source), then runs them nearest first within a 300 s budget (.test_durations) and names what it leaves to CI. In --fast, so churn's precheck runs it. Replayed on 30 churn collateral-break fix runs of 10-19..25: 20 of the 22 culprit tests the fix reports name were in the within-budget selection, 1 over budget, 1 missed (a glob over every case); run on #6561 and #6495's broken heads it fails on the culprit test. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * affected_tests: read sources through read_source, not a lossy decode (#3813; test_source_reads) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Part of #5953 (CI duplicate test runs; part of #5882).
Owner decisions
Owner OK (2026-10-24, nyx-o27): #5953 CI duplicate test runs: option 1 first (Smoke skips mainframe tests on main), then the nightly Smoke vs Full Suite Gate duplicate.
What changed
smoke-test.yml: a main push now setsPYTEST_ADDOPTS=--ignore=tests/cobol_mainframelike a PR does (not for aselectrun).mainframe-ground-truth.ymlruns the whole directory on every push (plan mode is alwaysfulloff PRs), so the ~2,000-2,500 test-s run twice per non-skipped push are now run once. Nightly and manual Smoke runs keep the directory (the nightly stores its durations).full-suite-gate.yml: onscheduleonly, the matrix drops the ubuntu-latest / 3.12 legs (same OS, Python andtests/as the 04:23 nightly Smoke; the gate leg only addedtest_evidence_components, which Ground Truth runs). Tag and manual runs keep the full grid. Smoke keeps the durations/budget role.tests/tools/test_sweep_plan.py: the pinning test now asserts both.Class / Sibling gaps
Class: the same suite run more than once per commit/night across Smoke, Ground Truth and Full Suite Gate (#5953 items 1-4). Handled here: item 1 (main-push Smoke vs Ground Truth) and item 2 (nightly Smoke vs gate ubuntu/3.12). Not handled: item 3 (tests/cobol_mainframe still runs in nightly Smoke, nightly Ground Truth and the 3.11 / windows / macOS gate legs: the other combos are different OS/Python, so only the nightly-Smoke copy is a candidate) and item 4 (post-merge.yml dispatching cics-crucible and full-suite-gate on main repeats the cics_crucible overlap): both are owner-of-CI-rework decisions, left open.
Residual edge: a root-level
*.md-only main push runs Smoke (paths-ignore isdocs/**only) but not Ground Truth (**/*.mdignored), so it no longer runs tests/cobol_mainframe at all.Evidence
pytest tests/tools/{test_ci_retry,test_sweep_plan,test_suite_shard_plan,test_timeouts_4904,test_ci_critical_path_split,test_post_merge_dispatch,test_ground_truth_plan}.py: all pass. Both workflows parse as YAML; the jq filter was checked on a sample matrix. No push-event CI run was observed locally.Cross-repo: none.
🤖 Generated with Claude Code