Repository navigation
Document recovery when the default branch advances mid-release - #92
Merged
dblock merged 1 commit intoNov 21, 2026
Conversation
dblock
force-pushed
the
dblock/document-advanced-branch-recovery
branch
from
November 21, 2026 04:23
acb9f88 to
b8fbd31
Compare
A merge after the tag check and before the release push leaves the gem published while the push fails, and reruns cannot recover. Document the manual recovery from the preserved artifacts in the workflow reference: verify the published digest, push the tag from the bundle, merge the release commit through a pull request, create the GitHub Release, and start the next iteration. Warn against merging while a release runs, and point to it from RELEASING.md, README, and the composite action docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Gr21hZDQo5axDMuFgzL6s
dblock
force-pushed
the
dblock/document-advanced-branch-recovery
branch
from
November 21, 2026 04:24
b8fbd31 to
2b6bca8
Compare
dblock
changed the base branch from
master
to
dblock/optional-changelog-placeholder
November 21, 2026 04:24
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.
Stacked on #91.
Summary
Addresses the "document recovery for post-publication failures" item from the review of ruby-grape/grape-swagger#1017. Documentation only.
The tag step fails before publication if the default branch moved since capture, but a merge after that check and before the release push leaves the gem published while the push fails with
Default branch advanced; start a new release. A rerun cannot recover, because each run creates a new release commit and tagging requires the branch to still be at the source commit.docs/actions/release.md, the user guide for projects using the workflow: why it happens, why a rerun does not help, and manual recovery from the preserved artifacts.release.json's SHA-256 with the digest RubyGems reports.release.bundleand push it.Validation
HEADplusrefs/tags/vVERSION) imports the tag at the release commit, and a branch created from it has the source commit as parent.Gem::Package#spec.file_nameand thatrelease.jsonstoressha256.Authored by an AI (Claude) acting on behalf of @dblock.
🤖 Generated with Claude Code
https://claude.ai/code/session_011Gr21hZDQo5axDMuFgzL6s