Skip to content

ci(cli): wait up to five minutes for npm before publishing to the MCP Registry - #290

Merged
nucliweb merged 1 commit into
mainfrom
ci/registry-retries
Oct 21, 2026
Merged

nucliweb merged 1 commit into
mainfrom
ci/registry-retries

Conversation

@nucliweb

Copy link
Copy Markdown
Owner

Summary

The release of 1.1.0 published to the MCP Registry on the fifth of six attempts, about two and a half minutes after npm: the registry rejects the server until npm lists the version (404). The step now tries ten times, 30 seconds apart, about five minutes.

docs/RELEASING.md says five minutes, and adds to the failure modes that the trusted publisher has to allow npm publish; one that only allows npm stage publish rejects the workflow with a 403.

Test plan

  • The workflow parses and the loop runs ten times, locally
  • The step itself runs with the next cli-v* tag
  • CI

… Registry

The registry reads the npm package of cli/server.json to check its mcpName, so it rejects the server until npm lists the new version. With 1.1.0 that took about two and a half minutes: the step got in on the fifth of six attempts. Ten attempts, 30 seconds apart, leave room for a slower npm.

RELEASING.md also says that the trusted publisher has to allow npm publish, since one that only allows npm stage publish answers the workflow with a 403.
@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
webperf-snippets Ready Ready Preview Oct 21, 2026 2:57pm UTC

@nucliweb
nucliweb merged commit 99f3f5b into main Oct 21, 2026
3 of 4 checks passed
@nucliweb
nucliweb deleted the ci/registry-retries branch October 21, 2026 15:10

This branch was successfully deployed

1 active deployment
Preview — e3c75fed Deployed Oct 21, 2026 by vercel[bot]
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