inspector/.github/workflows
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cliff Hall 4f3e7fa167
chore: pin v1 publishes to the v1 dist-tag (#1828)
`publish-all` had no `--tag`, so npm assigned `latest` to whatever it
published. That was correct for 1.0.1 — the deprecation release had to take
`latest` to reach npx users — but it becomes a trap the moment 2.0.0 ships: a
1.0.2 security fix published from `v1/main` would move `latest` back to v1, and
every `npx @modelcontextprotocol/inspector` in the world would silently get the
deprecated line.

`--tag v1` on both halves covers all four package names — `--workspaces` fans
out to inspector-client/-server/-cli, and the second invocation is the root.

Nothing enforces this flag, and the cost of dropping it surfaces months later
in a way that looks like an npm bug rather than a missing argument, so the
workflow carries a comment at the point of use.

Phase 3 of the v2 go-live runbook (#1804 §1).


Claude-Session: https://claude.ai/code/session_01Txmv2qqv3yeKgRzoqXytzD

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-27 21:47:46 -04:00
..
claude.yml ci: collapse author_association OR chains into contains(fromJSON(...)) 2026-05-01 10:49:54 -04:00
cli_tests.yml Bump actions/checkout from 4 to 6 2026-02-09 23:27:21 +00:00
e2e_tests.yml chore(deps): bump actions/upload-artifact from 6 to 7 2026-03-02 22:15:18 +00:00
main.yml chore: pin v1 publishes to the v1 dist-tag (#1828) 2026-07-27 21:47:46 -04:00