Skip to content

ci: isolate skipped draft runs from ready checks - #400

Merged
zzylol merged 1 commit into
mainfrom
fix/ci-draft-concurrency
Sep 11, 2026
Merged

zzylol merged 1 commit into
mainfrom
fix/ci-draft-concurrency

Conversation

@zzylol

@zzylol zzylol commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

A draft-event workflow can arrive after a PR is marked ready. Rust CI skips its jobs, but the shared concurrency group still lets that skipped run cancel the real ready-for-review checks.

Include the event's draft state in the Rust CI concurrency key. Draft runs and ready runs no longer cancel each other; repeated ready runs still cancel obsolete ready runs. Test commands, permissions, and merge requirements are unchanged.

Before: #398 and #399 each required a manual rerun after real checks were cancelled and the last workflow was skipped. After: those two event states use separate groups. Verification: inspected the workflow conditions and observed run histories; git diff --check passed. This PR's CI validates the unchanged test workflow. A live event-order stress test was not performed.

@zzylol
zzylol marked this pull request as ready for review September 11, 2026 15:45
@zzylol
zzylol merged commit 33e093f into main Sep 11, 2026
6 checks passed
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