You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release can tag a version that never reaches npm (publish dispatched on main, not the tag) and does not wait for CI #190
The release pipeline can tag a version that never reaches npm, and it can publish code that never passed CI.
Evidence
Publish builds main, not the tag..github/workflows/release.yml:65 runs gh workflow run publish.yml --ref main, and publish.yml reads the version from whatever main is when it runs.
If two version-bump PRs merge close together, run 1 tags v0.34.0 and dispatches publish, but by then main is at v0.34.1. Publish ships 0.34.1, and run 2's dispatch skips it as already published.
Result: 0.34.0 has a tag and a GitHub Release (and an .mcpb) but no npm package and no MCP Registry entry.
Release does not wait for CI.release.yml triggers on: push: branches: [main] in parallel with ci.yml. publish.yml re-runs only an ubuntu build and test, with no lint and no Windows leg, so a merge that breaks Windows CI still publishes.
Suggested approach
Dispatch with --ref "v$v", so publish builds exactly the tagged commit.
Trigger release.yml from workflow_run of CI (conclusion == 'success', head_branch == 'main'), or call CI as a reusable workflow (workflow_call) and gate the release job on it.
Optionally use a concurrency: release group so releases serialize.
Done when
Each tag's npm package and registry entry are built from that tag's commit.
Scale of the impact: 28 git-tagged versions never reached npm (0.11.0 through 0.27.3, plus 0.1.0, 0.2.0 and 0.8.13). The CHANGELOG and ROADMAP still cite some of them (for example v0.21.0) as when features shipped, so nobody could install those versions. Worth a CHANGELOG note once this is fixed. Related: #219 (release process) and #218 (branch ruleset).
Activity
TMHSDigital commentedon Oct 25, 2026
Scale of the impact: 28 git-tagged versions never reached npm (0.11.0 through 0.27.3, plus 0.1.0, 0.2.0 and 0.8.13). The CHANGELOG and ROADMAP still cite some of them (for example v0.21.0) as when features shipped, so nobody could install those versions. Worth a CHANGELOG note once this is fixed. Related: #219 (release process) and #218 (branch ruleset).