Skip to content

Make release dry-runs safe after publication - #62

Merged
AdmilsonCossa merged 1 commit into
mainfrom
codex/release-dry-run-version
Sep 23, 2026
Merged

AdmilsonCossa merged 1 commit into
mainfrom
codex/release-dry-run-version

Conversation

@AdmilsonCossa

Copy link
Copy Markdown
Collaborator

Summary

  • assign a unique ephemeral prerelease version only during dry-run jobs
  • use a non-latest dry-run dist-tag
  • enforce both properties in the release policy gate

Evidence

  • local npm publish dry-run completed for the ephemeral version without publishing
  • 424 tests passed with 100% statement, branch, function, and line coverage
  • release policy and diff checks passed
  • full local verify reached the Bun consumer fixture; Bun is provisioned and verified in CI

Why

npm 12 correctly rejects a publish dry-run when the repository version is already present in the registry. The real release path remains unchanged and still requires a matching signed tag.

@AdmilsonCossa
AdmilsonCossa merged commit 26222cd into main Sep 23, 2026
8 checks passed
@AdmilsonCossa
AdmilsonCossa deleted the codex/release-dry-run-version branch September 23, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant