Skip to content

Stop pull request runs cancelling each other's tag check - #69

Merged
hmaarrfk merged 1 commit into
mainfrom
labware/ci-pr-tag-concurrency
Nov 20, 2026
Merged

hmaarrfk merged 1 commit into
mainfrom
labware/ci-pr-tag-concurrency

Conversation

@kingbedjed

Copy link
Copy Markdown
Contributor

The request

Slack user U6HFZLBF0 in #labware-requests, 2026-11-20 (permalink). The leading mention is Slack user UT35U0XPX:

<@UT35U0XPX> could you look into the failing requests from Jarrett? seems like they aren't getting merged despite the various thumbs up. The many messages make it unclear to me which one we should "thumbs up" but it seems like there are many other requests https://github.com/ramonaoptics/labware/pulls accumulating

Closes #68

Decisions needed

What is included

file change
.github/workflows/pypi.yml the tag job's concurrency group is auto-tag for pushes, as before, and auto-tag-<ref> for each pull request

No plate definitions change.

Why

GitHub keeps at most one pending run in a concurrency group and cancels any other pending runs. Pull request runs used to share auto-tag with the release runs. When #67 merged on 2026-11-17 at 20:10 UTC, every open plate pull request was rebased onto main at the same moment, and tag was cancelled on 10 of the 14. A cancelled check is not a passing one, so none of those 10 can be merged automatically. On a pull request the tag job tags nothing, because its version step only runs on a push to main, so it needs no lock shared with anything else. Pushes to main and tag pushes still share auto-tag, so two releases still can't race.

Testing

  • pytest: 194 passed
  • lint (ruff check, ruff format --check and ty, at CI's pins): passes
  • pypi.yml parses as YAML. This pull request's own pypi run exercises the new group expression.

Opened by the add-labware skill of ramona-claude 0.32.1 (ramona-llm 1cb30a3, prompt bc769991).

🤖 Generated with Claude Code

The tag job shared the auto-tag concurrency group across every event, so
updating several pull requests at once left all but the last one's tag
check cancelled, which blocks their merge. Pull request runs now get a
group per ref; pushes keep the shared release group.

Refs #68

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hmaarrfk
hmaarrfk marked this pull request as ready for review November 20, 2026 18:42
@hmaarrfk
hmaarrfk merged commit 011a0fe into main Nov 20, 2026
5 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.

Approved plate pull requests are not merging: cancelled tag checks and stalled approvals

3 participants