Skip to content

CI: Smoke skips tests/cobol_mainframe on main pushes; nightly gate drops ubuntu/3.12 (Part of #5953) - #6495

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5953-20261024T1613Z
Oct 24, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5953-20261024T1613Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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

  1. smoke-test.yml: a main push now sets PYTEST_ADDOPTS=--ignore=tests/cobol_mainframe like a PR does (not for a select run). mainframe-ground-truth.yml runs the whole directory on every push (plan mode is always full off 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).
  2. full-suite-gate.yml: on schedule only, the matrix drops the ubuntu-latest / 3.12 legs (same OS, Python and tests/ as the 04:23 nightly Smoke; the gate leg only added test_evidence_components, which Ground Truth runs). Tag and manual runs keep the full grid. Smoke keeps the durations/budget role.
  3. 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 is docs/** only) but not Ground Truth (**/*.md ignored), 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

…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]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 16:26
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 16:30
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6495 @ de4324b: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40111571926/job/120925030051
repro: python -m pytest -q tests/core_engine/test_pipeline_pins.py::test_our_own_pipelines_are_clean[.github/workflows/full-suite-gate.yml]
failing tests: tests/core_engine/test_pipeline_pins.py::test_our_own_pipelines_are_clean[.github/workflows/full-suite-gate.yml]
errors:
fail-on-cache-miss: false
E AssertionError: {(175, 'brew')}
tests/core_engine/test_pipeline_pins.py:368: AssertionError
FAILED tests/core_engine/test_pipeline_pins.py::test_our_own_pipelines_are_clean[.github/workflows/full-suite-gate.yml] - AssertionError: {(175, 'brew')}
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 205499
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is d4f9ffbc0d1cd16c1810f3907a0b343dcc41175a8d5e129cd36d64ca57abc2af
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 12567315789
Artifact test-times-part-2 has been successfully uploaded! Final size is 205499 bytes. Artifact ID is 12567315789
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40111571926/artifacts/12567315789
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/ab09e04b-ebb4-4943-8028-228f0b50e4eb' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 24, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 9625db5 into main Oct 24, 2026
34 of 35 checks passed
@squid-protocol
squid-protocol deleted the churn/5953-20261024T1613Z branch October 24, 2026 17:45
squid-protocol added a commit that referenced this pull request Oct 26, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant