Skip to content

fix(release): retry transient npm artifact verification - #67

Merged
abruption merged 1 commit into
mainfrom
fix/66-npm-verify-retry
Nov 19, 2026
Merged

abruption merged 1 commit into
mainfrom
fix/66-npm-verify-retry

Conversation

@abruption

Copy link
Copy Markdown
Owner

Issue

Closes #66

Problem and result

The v0.3.3 publication succeeded, but the deployment failed verification when npm exposed package metadata before the tarball became downloadable. Retry transient metadata and tarball errors for up to 25 attempts with a seven-minute deadline. Require the expected package identity, provenance metadata, npm registry origin, and tarball SHA-256. Permanent HTTP failures and integrity mismatches fail immediately.

The publication command and approval flow are unchanged. No npm publication was run for this PR.

Validation

  • 11 mocked cases execute the verification code from the workflow, including a tarball 404 followed by success, transient network and HTTP failures, terminal failures, and retry exhaustion.
  • YAML parsing, typecheck, CLI and Worker dry-run build, all 251 tests, and package smoke passed.

Review

Claude Code (Opus 5.5) and Antigravity (Gemini 4 Argon medium) independently reviewed the change. Tightened network error classification and malformed URL handling, and made the retry delay abortable.

@abruption
abruption marked this pull request as ready for review November 19, 2026 02:30
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T02:31:06.720820Z 4702419 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-19T02:32:39.449635Z 4702419 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@abruption
abruption merged commit 93259c6 into main Nov 19, 2026
8 checks passed
@abruption
abruption deleted the fix/66-npm-verify-retry branch November 19, 2026 02:42
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.

fix(release): retry transient npm artifact verification

1 participant