Skip to content

fix(ci): wait 15 minutes for npm to make a publish visible - #161

Merged
gregpriday merged 1 commit into
developfrom
bugfix/publish-registry-wait
Oct 20, 2026
Merged

gregpriday merged 1 commit into
developfrom
bugfix/publish-registry-wait

Conversation

@gregpriday

Copy link
Copy Markdown
Owner

Summary

The v1.0.0-rc.4 publish (run 39379699234) went out fine, but npm took about nine and a half minutes to make the version visible. The verify step only waited a minute, so the run failed and skipped the GitHub release. Rerunning the failed job finished it.

npm now says this on publish: "Your package is being processed and may take a few minutes to become available." So the wait has to be longer.

Changes

  • Confirm the registry has the bytes we tested polls 90 times, ten seconds apart (15 minutes), instead of 6.
  • The step gets timeout-minutes: 20, so npm's own retries and request timeouts can't stretch it out and hold the publish concurrency group.

Integrity is still compared on the first lookup that returns a value, so the longer wait can't let a mismatched artifact through. Codex reviewed the loop under bash -e, the integrity gate and rerun behaviour, and the step timeout came out of that.

- npm now accepts a publish before the version is visible; 1.0.0-rc.4 took
  nine and a half minutes, and the one-minute wait failed a release that had
  published correctly, skipping the GitHub release
- poll the registry 90 times, ten seconds apart, instead of six
- bound the step at 20 minutes, so npm's own retries and request timeouts on
  top of the polls cannot hold the publish concurrency group
@gregpriday
gregpriday merged commit 69d22bf into develop Oct 20, 2026
18 checks passed
@gregpriday
gregpriday deleted the bugfix/publish-registry-wait branch October 20, 2026 10:28
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