Skip to content

fix(release): wait three hours for the npm package before listing sysml-mcp - #1338

Merged
HuiJun merged 1 commit into
developfrom
fix/mcp-registry-npm-wait
Oct 21, 2026
Merged

HuiJun merged 1 commit into
developfrom
fix/mcp-registry-npm-wait

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

What and why

The MCP Registry workflow (.github/workflows/mcp-registry.yml) starts the moment a v* tag is pushed, but the npm package it lists, @openmbee/sysml-mcp, is published by CircleCI's publish-npm job only after the suite and the GitHub release. scripts/mcp-registry-publish.sh waited for the package for at most one hour (MCP_REGISTRY_NPM_TIMEOUT default 3600), inside a 90-minute job. The last two releases took longer than that to reach npm: the v0.10.0 tag was created at 2026-10-11T19:35Z and @openmbee/opensysml@0.10.0 appeared at 20:59Z (84 minutes); v0.10.1 at 2026-10-16T01:52Z and 0.10.1 at 03:04Z (72 minutes). So the first listing, on the next release tag, would have failed with "not on registry.npmjs.org after 3600s" before the package existed.

  • scripts/mcp-registry-publish.sh: default wait 3600 → 10800 seconds.
  • .github/workflows/mcp-registry.yml: timeout-minutes 90 → 200, so the job outlives the wait.
  • docs/project/releasing.md: the registry section states the new wait and why; the npm section records that a package the release creates (the six @openmbee/sysml-mcp* packages ship this way first) needs the nightly registered as a trusted publisher on npmjs.com before the nightly can publish it — the nightly's npm publish of a never-published package fails with 404 Not Found - PUT, which is what the 2026-10-20 nightly's npm job did.

No changelog fragment: the change is to the release pipeline and its maintainer documentation, nothing a user of a release sees.

How it was verified

  • scripts/mcp-registry-publish.sh --check v0.11.0 still validates the filled server.json (mcp-publisher 1.8.1, installed by scripts/install-mcp-publisher.sh).
  • go test -count=1 -run 'TestMCPRegistry|TestNightly' ./tests/hygiene passes.
  • python3 scripts/check-doc-ids.py and python3 scripts/changelog.py check pass.
  • Tag-to-npm durations read from git for-each-ref on the tags and npm view @openmbee/opensysml time.

Checklist

  • make test and make lint pass locally (hygiene suite and the doc checks that cover these files)
  • Tests added or updated for the change (none: a timeout value and documentation)
  • Documentation extended where it already covers the surface (see CONTRIBUTING.md)
  • Changelog entry added as changes/unreleased/<slug>.<section>.md, not as an edit to CHANGELOG.md (not user-visible)
  • baselines regenerated and make docs-counts run if a gate count moved (no gate count moved)
  • No internal work-item labels (waves, slices, F4, K5) in the body, docs, or changelog

Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/3340be9bab3547ee882933bc84a36cea
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/3340be9bab3547ee882933bc84a36cea?variant=devin
Requested by: @HuiJun

…ml-mcp

The MCP Registry workflow starts when the tag is pushed, but CircleCI's
publish-npm job publishes @openmbee/sysml-mcp only after the suite and
the GitHub release: the v0.10.0 and v0.10.1 tags reached npm 84 and 72
minutes after tagging, past the script's one-hour wait, so the first
listing would have failed. Raise the default wait to three hours and
the job timeout to match, and record on the npm page that a package the
release creates needs the nightly registered as a trusted publisher
before the nightly can publish it.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration
devin-ai-integration Bot marked this pull request as ready for review October 21, 2026 08:14
@HuiJun
HuiJun merged commit fbd1518 into develop Oct 21, 2026
50 checks passed
@HuiJun
HuiJun deleted the fix/mcp-registry-npm-wait branch October 21, 2026 19:33
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