Skip to content

Explain the registry answer when npm publication fails - #540

Merged
Eli Pinkerton (wallstop) merged 1 commit into
mainfrom
fix/release-npm-failure-hint
Nov 4, 2026
Merged

Eli Pinkerton (wallstop) merged 1 commit into
mainfrom
fix/release-npm-failure-hint

Conversation

@wallstop

Copy link
Copy Markdown
Collaborator

DISCLOSURE: LLM-GENERATED TEXT

Why: The v0.2.0 publish attempt ended with bare npm error code E404. npm uses 404 both for a missing package and for an OIDC identity its Trusted Publisher does not name, so the stale registration after the repository transfer looked like a generic registry failure.

What:

  • Report the full registry answer when npm publish fails
  • Explain that a 404 can mean the Trusted Publisher does not name this repository and workflow, and name the fields to check
  • Document the v0.2.0 publication incident and the required registration update

Refs #536

npm answers 404 both for a missing package and for an OIDC identity the
Trusted Publisher does not name, so a failed publish hid the repository
transfer's stale registration. Report the full registry answer and name the
registration fields to check.

Refs #536.
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@wallstop
Eli Pinkerton (wallstop) merged commit cb48299 into main Nov 4, 2026
2 of 3 checks passed
@wallstop
Eli Pinkerton (wallstop) deleted the fix/release-npm-failure-hint branch November 4, 2026 19:40
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