test: harden release candidate gates - #4
Merged
Conversation
Signed-off-by: Te-Shu Wang <dexuwang627@gmail.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.
Summary
This follow-up makes the v0.6 release checks executable and artifact-bound rather than relying on a manual runbook alone.
release:checkthat runs tests, build, Action contract, audit, a realnpm pack, required-file checks, and all three CLI aliases from the exact packed tarball;Why
PR #3 added the release evidence, but independent review found three reliability gaps: the documented candidate checks were not one executable prepublish gate, the verifier hashed one tarball and installed the package again by registry spec, and the rule corpus bypassed the parser. This patch closes those code-level gaps without changing scoring behavior.
Validation
Run from clean commit
c7a843e1cd14c04a84c5302921464dec901ea64a:ad3780e2c5478e8f53647a3f6c23cdb5d9f1d5da7e37e34b4249c6458a061721Additional checks:
47579e56393d8b91476065108f85e7913b60d80dand published tarball SHA-256f5ea2dbb4d15732fc095b7d8e8805b9381fb007f81243ee36e2caad4fa1d58c1;npm publish --dry-runcompleted the newprepublishOnlygate, then stopped because0.6.0is already published;git diff --checkpassed and the worktree is clean.Release boundary
This PR does not bump the package version, publish npm content, create or move a tag, create a GitHub Release, or change repository rulesets. The new local candidate hash is not the published v0.6.0 artifact and must not be published over the existing immutable version. A future release should bump the version separately.
Review checklist