Skip to content

go-live 5/9: publish 2.0.0 (rc under next first; rollback plan written first) #1818

Description

@cliffhall

Phase 5 of 9 in the v2 go-live runbook — see #1804 (§6, §7). Depends on phase 4.

⚠️ IRREVERSIBLE — this publishes to npm. npm unpublish is effectively unavailable (72h window, disallowed once others depend on it).

Publish 2.0.0 from the post-swap main.

Write the rollback plan first

This is a blocking prerequisite, not a follow-up. Rollback for a broken 2.0.0 is dist-tag surgery, not unpublish:

  1. npm dist-tag add @modelcontextprotocol/inspector@1.0.1 latest
  2. npm deprecate the bad 2.0.0
  3. ship 2.0.1

Confirm whoever cuts the release holds the npm rights to do all three.

Tasks

  • Publish 2.0.0-rc.1 under --tag next to the real registry and install it on a clean machine via npx @modelcontextprotocol/inspector@next. This is the only way to validate what only exists against live npm: provenance/OIDC minting, the files allowlist as npm actually packs it, the postinstall cascade's early-exit under a real dependency install, and the Docker job. A wasted prerelease number is cheap next to a broken 2.0.0.
  • npm run pack:verify green (the publish job already runs it as a gate).
  • Cut the release: tag 2.0.0 or v2.0.0 (the assert tolerates the leading v) targeting the post-merge main commit.
  • Confirm Docker latest moves to 2.0.0 and a 1-pinned tag is preserved for v1 users.
  • Verify npm view @modelcontextprotocol/inspector dist-tagslatest: 2.0.0, v1: 1.0.1.

Metadata

Metadata

Assignees

Labels

v2Issues and PRs for v2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions