Skip to content

fix(release): stop gating npm discovery on redundant npx round-trip - #288

Merged
morluto merged 1 commit into
mainfrom
fix/npm-publication-verifier
Aug 10, 2026
Merged

fix(release): stop gating npm discovery on redundant npx round-trip#288
morluto merged 1 commit into
mainfrom
fix/npm-publication-verifier

Conversation

@morluto

@morluto morluto commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • The 3.0.0 npm publish succeeded but the post-publish verifier failed, leaving the GitHub release without its tarball. Root cause: the verifier's third check re-resolved gitcontribute@latest through npx, re-downloading the 56 MB native tarball within a 30 s per-probe timeout. Right after publication, registry dist-tag propagation + npx resolution exceeded the 10-attempt / 6 s window.
  • Public discoverability is a registry-metadata property already proven by npm view (dist-tags.latest + version resolution); the published binary is smoke-tested earlier in the job via the local tarball. Removed the redundant npx round-trip and widened the retry budget (30 attempts, 5 s delay).
  • Attach the npm tarball to the GitHub release whenever npm publish succeeded (if: always() && steps.publish.outcome == 'success'), so a transient propagation delay can't leave the release incomplete.

Test plan

  • npm run test:npm — 13/13 pass (updated the three publication-verification tests to drop the npx call expectation and adjust retry/timeout call counts 4 → 3)

Generated with Devin

The 3.0.0 npm publish succeeded but the post-publish verifier failed
because its third check re-resolved `gitcontribute@latest` through npx,
re-downloading the 56 MB native tarball within a 30 s per-probe timeout.
Right after publication, registry dist-tag propagation plus npx
resolution routinely exceeded the 10-attempt/6 s window, so the job
aborted and left the GitHub release without its tarball artifact.

Public discoverability is a registry-metadata property already proven by
`npm view` (dist-tags.latest + version resolution); the published binary
is smoke-tested earlier in the job via the local tarball. Drop the npx
round-trip, widen the retry budget (30 attempts, 5 s delay), and attach
the npm tarball to the GitHub release whenever `npm publish` succeeded
even if the discovery probe times out.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@cursor

cursor Bot commented Aug 10, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@morluto
morluto merged commit b710e0f into main Aug 10, 2026
13 checks passed
@morluto
morluto deleted the fix/npm-publication-verifier branch August 10, 2026 17:27
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