You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(release): the release job stops when its tag already exists on another commit, and never replaces a published release's assets #1805
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/releaseThe release-please workflow, the changelog and the published artifactssource/agentFiled by an agenttype/bugType bug: the code does not do what it must
A release PR merge can publish the previous release again under its old version. On 2026-10-21 the v0.2.38 release pull request merged into main before the cut, and the workflow republished v0.2.37 from the v0.2.38 code.
Evidence
Release Orchestration run 39677745263, on the merge commit 1a8b26c, where pyproject.toml still said 0.2.37:
Its release job read version 0.2.37, found the tag v0.2.37 already present (954914e, a different commit) and printed "Tag v0.2.37 already exists", then went on.
softprops/action-gh-release replaced the three assets of the published v0.2.37 release at 21:19:09 UTC: the wheel, the sdist and SHA256SUMS now come from a build of the 0.2.38 code.
The DevContainer image job completed and pushed. The Service Image job would have pushed the tags v0.2.37 and latest; it was cancelled by hand.
The real v0.2.38 run (39677802397) was queued behind it, since the workflow's concurrency group does not cancel in progress, and delayed the release by the length of the image builds.
Remedy
The release job stops, with an error naming both commits, when the tag it would create already exists on a different commit than the one being published. It never replaces assets of a published release, and the image jobs do not run after it stops. A test pins both.
Separately, a person repairs v0.2.37: its assets and the v0.2.37 image tags rebuilt from the tag.
Acceptance criteria
A workflow contract fails if the tag step can continue when the tag exists on another commit.
The v0.2.37 release assets and image tags match a build of the v0.2.37 tag (Pending a person).
priority/p0-criticalPriority P0: a release blocker or a critical defectscope/releaseThe release-please workflow, the changelog and the published artifactssource/agentFiled by an agenttype/bugType bug: the code does not do what it must
Activity
fix(release): the release job stops when its tag is on another commit (…
dan-petty commentedon Oct 21, 2026
What changed
#1809, merged into
release/v0.2.39as 5d264d6.4 file(s) changed.
How it was verified
Check runs at 9a90423:
Acceptance Criteria of
docs/agent/tasks/task-1805-release-tag-guard.md:No Acceptance Criteria section.
feat(release): v0.2.39 (#1947)