Skip to content

ci: fast and full pull-request runs are in concurrency groups of their own, so marking a draft ready no longer cancels its fast run (#1237) - #1323

Merged
DrunkOnJava merged 4 commits into
mainfrom
ci/fast-cancel-skip
Nov 4, 2026
Merged

DrunkOnJava merged 4 commits into
mainfrom
ci/fast-cancel-skip

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Marking a draft ready started its full run, and ci-pr.yml's single concurrency group cancelled the draft's fast run still in flight. That left eight CANCELLED fast / ... checks and a failed fast / CI passed on the head, beside the full run's green: #1317 at 8b4bbfe, run 41774698189. Neither is the required check, so GitHub blocks nothing. But the pr-queue mod reads any CANCELLED or FAILED check as a failing PR and passes it over (queue.ts 41-46, 68, 75-76).

Fast and full pull-request runs now have concurrency groups of their own, ci-pr-<ref>-fast and ci-pr-<ref>-full, each still cancelling an older run of its own kind:

  • Marking a draft ready starts the full run at once and leaves the fast run to finish.
  • A new push while a draft cancels the older fast run. A new push while ready cancels the older full run. In both cases the cancelled run was on the previous head.

ci.yml is unchanged. The first version of this PR changed its CI passed condition instead. A second read showed that left the eight cancelled checks in place, so that change is dropped.

Testing

  • actionlint: nothing new.
  • A second read walked the cases: two quick draft pushes, ready while a fast run is in flight, two quick ready pushes, converted to draft and back on the same SHA, and a push while an older SHA's fast run is in flight. It also checked ci.yml's own concurrency inside the called workflow. Results: in the PR's review.

Legal and contribution hygiene

  • Apache-2.0.

Related issues

Refs #1237, #1319, #1317.

@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 4, 2026 04:51
@DrunkOnJava
DrunkOnJava disabled auto-merge November 4, 2026 04:51
@DrunkOnJava DrunkOnJava changed the title ci: a cancelled fast run ends with its CI passed skipped, not failed, while a cancelled full run still fails (#1237) ci: fast and full pull-request runs are in concurrency groups of their own, so marking a draft ready no longer cancels its fast run (#1237) Nov 4, 2026
…orkflow's group lives in the caller's namespace, and only a new push cancels a run (#1237)
@DrunkOnJava
DrunkOnJava marked this pull request as draft November 4, 2026 05:11
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 4, 2026 05:12
@DrunkOnJava
DrunkOnJava merged commit ba38d8c into main Nov 4, 2026
74 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/fast-cancel-skip branch November 4, 2026 05:22
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