Repository navigation
Release workflow: queue runs per commit (lost 0.14.0 run) - #184
Merged
Merged
Conversation
GitHub keeps only one waiting run per concurrency group. With a single "release" group, the 0.13.2 run waiting for PyPI approval held the group, the 0.14.0 run queued behind it, and merging 0.15.0 queued a new run that replaced (cancelled) the 0.14.0 one. The group is now keyed by the commit (or the dispatch ref / release tag), so different versions no longer displace each other; one commit still never runs twice at once, and the release job already marks "Latest" by version. A workflow test guards the group. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the release queue that cancelled the 0.14.0 release run. No version bump; merging this does not start a release (pyproject.toml is unchanged).
What happened
release.ymlused one concurrency group,release, for every run. GitHub keeps only one waiting run per group: the 0.13.2 run was holding the group while waiting for its PyPI approval, the 0.14.0 run was waiting behind it, and the run started by merging 0.15.0 replaced (cancelled) the 0.14.0 run. 0.14.0 therefore has no tag, GitHub Release or PyPI upload.Change
release-${{ inputs.ref || github.event.release.tag_name || github.sha }}, stillcancel-in-progress: false. Different versions no longer displace each other; one commit still never runs twice at once. The release job already marks "Latest" by version, so finishing order does not matter.tests/test_workflows.py: guard that the group is per commit and never cancels.After merge
Release 0.14.0 from its merge commit (Actions → Release → Run workflow,
publishticked,ref=35bfb5d), which will not be marked Latest; its PyPI step waits for approval like the others.Testing
tests/test_workflows.py: 19 passed. pre-commit clean.Authorship
Generated by Claude Code