Repository navigation
Conversation
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryAdds recovery for receipt-pinned drafts whose tag GitHub changed to
No actionable issues were found. This review checked source code; it did not run tests.
|
dcolthorp
force-pushed
the
fix/release-advertise-recovery
branch
from
November 24, 2026 13:04
1c4e39d to
688863a
Compare
This branch has not been deployed
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.
Trying to upgrade a repository to
v0.54.0in Rhizome Desktop failed with HTTP 404 because thev0.54.0Release run (44765387550) got stuck during advertisement and leftv0.54.0unpublished as anuntagged-draft.On the first attempt, post-promotion verification checked
/releases/latest/download/latest.jsonimmediately afterPATCH make_latest=truewith no retries for GitHub's eventual consistency, rolled the release back to draft, and hid the underlying error message. On the second attempt, resuming fromphase: "recovered"re-ranrecover()and sentPATCH {"draft": true, "make_latest": "false"}withouttag_name, causing GitHub to rewrite the draft'stag_nametountagged-072ac595e1bcffa8331c, which the publisher then rejected.This fix makes release advertisement and recovery handle both issues:
tag_namein draft-recovery and publishPATCHcalls, skip redundant recovery when arecoveredreceipt already matches remote state, and accept receipt-pinneduntagged-<hex>drafts (with complete verified assets) in bothci_release_publish.pyandrelease_advertise.pywithout creating duplicate drafts or re-uploading.latestAPI/feed propagation within a bounded backoff budget while still aborting immediately on unrelated concurrentlatestchanges.AdvertisementErrormessages so CI logs show why advertisement failed.Proved with focused unit tests reproducing propagation lag,
untagged-draft recovery, pre-desktop predecessor recovery, concurrentlatestinterruption, and missing-asset rejection (release_advertise_test.py24/24 pass,ci_release_publish_test.py26/26 pass,scripts/secrets/check.pyclean,greptile review --json5/5 with 0 comments).Reviewed with sol-loop: 3 rounds with gpt-6.2-sol on high. Sol verdict: approved
Created with Gemini 4 Neon in T3 Code.