Skip to content

ci: cancel superseded main workflow runs on pull requests - #983

Merged
tdstein merged 1 commit into
mainfrom
ci/one-run-per-pr
Nov 16, 2026
Merged

tdstein merged 1 commit into
mainfrom
ci/one-run-per-pr

Conversation

@tdstein

@tdstein tdstein commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Adds a concurrency group to the main workflow so each pull request has at most one run in flight. A newer run for the same PR cancels the older one.

Runs outside pull requests (pushes to main, tag releases, the nightly schedule, and manual dispatch) each get a unique group keyed on github.run_id, so they are never cancelled or queued behind each other.

Motivation: #978 had two main runs for the same commit started a second apart, which split its checks across two runs and doubled CI time.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-16 18:16 UTC

@tdstein
tdstein merged commit ee53686 into main Nov 16, 2026
24 checks passed
@tdstein
tdstein deleted the ci/one-run-per-pr branch November 16, 2026 18:15
@github-actions

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
11214 9934 89% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 8a45171 by action🐍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant