Skip to content

fix: finish npm releases after publication succeeds - #4

Merged
nstdata-dev merged 1 commit into
mainfrom
fix/npm-publish-completion
Nov 3, 2026
Merged

nstdata-dev merged 1 commit into
mainfrom
fix/npm-publish-completion

Conversation

@nstdata-dev

Copy link
Copy Markdown
Contributor

Summary

Complete the release workflow when npm publish exits successfully. Public registry availability can lag behind publication; a temporary 404 must not turn an accepted publication into a failed workflow.

 validate release identity, approval and archive
 check that the version does not exist
 npm publish once
- poll the registry and install the published package
+ report publication completion

Prepublication checks remain in place. The completion message distinguishes npm acceptance from public availability. Runtime APIs, dependencies and package versions are unchanged.

Evidence

  • Before: the new publish-CLI regression fails against the previous postpublication polling behavior.
    After: the regression passes and rejects any postpublication request, installation or retry. It covers acceptance, publish failure, ambiguous timeout, existing version, registry failure and archive tampering.
  • Local source tests: 104 passed. Release tests passed on Node.js 22.23.3, 24.0.0 and 24.22.0; package checks passed.
  • Push CI: all four Node.js matrix jobs passed.

Merge Danger

Door: two-way. The release-tool change can be reverted.

Blast Radius: releases. Workflow success records npm command completion; public installation availability is checked separately. This change does not publish a package.

@nstdata-dev
nstdata-dev merged commit e450d99 into main Nov 3, 2026
8 checks passed
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