Skip to content

ci: cancel superseded PR runs; full OS x Python matrix on main/nightly (#4518) - #4519

Merged
squid-protocol merged 1 commit into
mainfrom
ci/4518-lean-pr-ci
Oct 5, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
ci/4518-lean-pr-ci

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #4518

Findings

  • Concurrency (AC 1) was already in place on main: all 28 pull_request workflows already set group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} with cancel-in-progress: ${{ github.event_name == 'pull_request' }}, except full-suite-gate.yml (deliberately false, Full Suite Gate: two labels at once leaves a permanently red cancelled full-suite-matrix check #3343, label bursts). That workflow no longer runs on PRs, so it keeps false (main/nightly runs are never cancelled). No change needed elsewhere; det-sweep untouched.
  • Real cost driver: full-suite-gate.yml triggered on pull_request: [labeled], and PRs always get labels at creation, so every PR ran the 7-leg matrix (+1 matrix job).

Changes

  • full-suite-gate.yml: dropped the pull_request trigger; now push to main (path-filtered to code/tests/pyproject/requirements), nightly schedule, v* tags, workflow_dispatch. Push/schedule use the full 9-leg grid.
  • smoke-test.yml: PR matrix trimmed to ubuntu 3.12, windows 3.12, macos 3.12, ubuntu 3.10; full 9-leg grid on push to main, nightly, manual. Linux full-suite job unchanged.

Required checks

branches/main/protection has checks: [] and no rulesets (empty list): nothing is required. Retained smoke leg names are unchanged (smoke-test (os, py)). No repo settings change needed. Note the dropped PR-only checks: matrix, full-suite-matrix (...) (8) and 5 smoke legs (macos/windows 3.10, 3.11; ubuntu 3.11 ...) if auto-merge automation keys on them.

Per-PR check count (these two workflows)

  • Before: Full Suite Gate 8 (matrix + 7 legs) + smoke 9 legs + full-suite = 18
  • After: smoke 4 legs + full-suite = 5 (-13 checks, -7 long 45 min legs)

Validation

YAML loads for both files; actionlint not available locally. CI not yet verified for the matrix fromJSON expression.

🤖 Generated with Claude Code

#4518)

Full Suite Gate no longer fires on PR labels (it ran on every PR); it runs on
main, nightly, v* tags and manual dispatch. smoke-test runs a lean 4-leg matrix
on PRs and the full 9-leg grid on main/nightly/manual.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol marked this pull request as ready for review October 5, 2026 23:14
@squid-protocol
squid-protocol merged commit 397dc86 into main Oct 5, 2026
21 checks passed
@squid-protocol
squid-protocol deleted the ci/4518-lean-pr-ci branch October 5, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd Continuous integration, delivery, and automated runners performance priority: high Core feature broken, but workarounds exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: cancel superseded PR runs and move the full OS x Python matrix to nightly/main (PR CI 2h -> minutes)

1 participant