Skip to content

Release workflow: queue runs per commit (lost 0.14.0 run) - #184

Merged
NCCU-Schultz-Lab merged 1 commit into
mainfrom
claude/relaxed-allen-yl8454
Dec 6, 2026
Merged

NCCU-Schultz-Lab merged 1 commit into
mainfrom
claude/relaxed-allen-yl8454

Conversation

@NCCU-Schultz-Lab

Copy link
Copy Markdown
Collaborator

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.yml used 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

  • Concurrency group keyed by the commit: release-${{ inputs.ref || github.event.release.tag_name || github.sha }}, still cancel-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, publish ticked, 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

  • Claude (Opus 5.5): code edits, review, and conceptual discussion
  • Jonathan Schultz: overall vision, planning, review, and orchestration

Generated by Claude Code

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>
@NCCU-Schultz-Lab
NCCU-Schultz-Lab merged commit 23c6643 into main Dec 6, 2026
7 checks passed
@NCCU-Schultz-Lab
NCCU-Schultz-Lab deleted the claude/relaxed-allen-yl8454 branch December 6, 2026 01:31
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.

2 participants