Skip to content

fix: retry major-tag move (transient 422 after release merge)#24

Merged
roleme merged 1 commit into
mainfrom
fix/tag-move-retry
Jun 26, 2026
Merged

fix: retry major-tag move (transient 422 after release merge)#24
roleme merged 1 commit into
mainfrom
fix/tag-move-retry

Conversation

@roleme

@roleme roleme commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Follow-up to #23. When v1.1.0 was cut, the "Move major tag" step failed with Reference does not exist (HTTP 422) — the release commit isn't ref-able for a brief moment right after the release PR merges. The same command succeeded seconds later by hand, so it's transient. Wraps create/update in a 5× retry with 5s backoff so v1 lands automatically on future releases. (v1 for the current release was created manually.)

🤖 Generated with Claude Code

The release commit can briefly return "Reference does not exist" (HTTP 422)
immediately after the release PR merges — the object is not yet ref-able. The
v1 tag had to be created by hand for v1.1.0. Wrap the create/update in a 5x
retry with backoff so the moving major tag lands automatically.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@roleme roleme merged commit 59d6199 into main Jun 26, 2026
1 check passed
@roleme roleme deleted the fix/tag-move-retry branch June 26, 2026 11:56
@roleme roleme mentioned this pull request Jun 26, 2026
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