fix: reconcile published releases without repeating npm publication - #57
Merged
Merged
Conversation
Signed-off-by: David Ahmann <46606159+davidahmann@users.noreply.github.com>
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.
Outcome
npm published 0.7.1 successfully, but registry metadata appeared after the former
readback budget expired. The publish run stopped before GitHub Release creation.
This repair extends bounded reads and adds protected finalization of that known
publication without repeating npm publish or changing the tag or artifact.
Changes
still fail immediately. Exercise availability on the thirteenth read.
reviewer, no OIDC permission and no npm mutation command.
step and the candidate actually consumed. Reject other publish attempts or an
existing GitHub release, including drafts.
creation. Keep original source/publication identity separate from recovery.
kept private. Clarify reconciliation versus withdrawal in the runbook.
Acceptance and authority
The owner's admission/evidence hardening instruction authorizes this repair and
completion of the verified publication. The source authority records candidate
run 35466952501 and publish run 35467443471. The latter remains failed evidence;
recovery does not rewrite it or claim publication ran again.
Validation
material issues at
ab85f15aa4ed9668394c01483b785afdf579f547.run, attempt-specific job records and artifact-download log bindings.
full registry-downloaded canary. Its bytes match the qualified candidate.
code, version, dependency pin or release tag changed.
Limits
This first recovery path accepts stable tags, first attempts and a failed
postpublish metadata/signature step before any GitHub release effect. Existing
releases, unavailable retained candidate artifacts or uncertain effects block.
It grants no general release overwrite, publish retry or protection bypass.
Assistance disclosure