fix: recover npm through trusted release workflow#29
Merged
Conversation
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.
Trusted Publishing recovery
Moves the guarded v0.3.3 npm recovery path into
.github/workflows/release.yml, the workflow identity authorized for npm Trusted Publishing.Evidence
Recovery run
30102210946successfully downloaded and checksum-verified the immutable public release assets, reconstructed provenance, and passed native/launcher validation.npm publish --provenancethen returned E404 permission despite a provenance-signed publish attempt. The separaterelease-npm-recovery.ymlworkflow is not authorized by the npm Trusted Publishing configuration;release.ymlis the established publisher identity.Safety controls
v0.3.3, and requires exactpublish-v0.3.3confirmationpush; dispatch cannot recreate or alter tag/release/tap assetsv0.3.3, refuses an existing npm version, downloads only public release archives plusSHA256SUMS, verifies every digest, validates exact archive members, reconstructs/validates provenance, and verifies native binary plus npm launchercontents: readandid-token: writeReview and validation
Independent reviewer: PASS.
cargo fmt --all -- --checkcargo test -p xtask releaseDo not merge or dispatch without direct execution approval.