Skip to content

fix(release): handle npm registry 404 safely#8

Merged
CJianYu merged 1 commit into
mainfrom
fix/release-registry-check
Jul 22, 2026
Merged

fix(release): handle npm registry 404 safely#8
CJianYu merged 1 commit into
mainfrom
fix/release-registry-check

Conversation

@CJianYu

@CJianYu CJianYu commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Outcome

Make the release idempotency check compatible with npm 11 while remaining fail-closed for non-404 registry errors.

Proof

  • Release workflow YAML parses
  • Live npm E404 is classified as unpublished
  • npm run check
  • npm test (43 tests)
  • npm run build
  • Source-aware review completed with no findings

Context

The v0.2.0 publish has not occurred and no GitHub Release exists. The tag run reached this registry guard and stopped before npm publish.

@CJianYu
CJianYu marked this pull request as ready for review July 22, 2026 18:06
@CJianYu
CJianYu merged commit b2e814a into main Jul 22, 2026
7 checks passed
@CJianYu
CJianYu deleted the fix/release-registry-check branch July 22, 2026 18:06
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.

2 participants