fix: recover alpha.1 registry publication - #20
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.
Summary
Fix the Registry Alpha publication failure without changing the immutable
v0.1.0-alpha.1tag or release.The first Publish run (
30250013146) passed immutable-release verification, exact artifact tests, and the bounded live smoke, then failed before writing to npm becausenpm publish release-artifacts/cometapi-0.1.0-alpha.1.tgzwas parsed as a GitHub shorthand instead of a local tarball path.This change:
npm publishpublish.ymlmain, immutablev0.1.0-alpha.1, and a supplied failed release run whose exact-artifact and live-smoke jobs succeedednpmenvironment, publishes with provenance, and repeats the full registry verificationThe temporary recovery entry point will be removed in the post-publication closeout PR.
Verification
npx vitest run tests/publish-artifact.test.mjs tests/workflow-contract.test.mjs tests/ci-workflow.test.mjs(16 passed before the final full run)npm run actionlintnpm run verify(11 files, 178 tests; package, fixtures, compatibility, secret/history, workflow, and standalone gates passed)node scripts/validate-release.mjs --tag v0.1.0-alpha.1 --release-prerelease true --require-final --require-releasable-docsObserved remote boundary before this PR:
npm view cometapi@0.1.0-alpha.1: E404npm-package-0.1.0-alpha.1, unexpired, digestsha256:299be7d6e66ee0a2b7c3331d542292021456b0cf2ad87fb91ddfe579bb14de20Checklist
actionlintversion.