Skip to content

Release publish job passes a bare relative tarball path, which npm reads as a GitHub repo: 2.9.0 never reached npm #2551

Description

@cliffhall

Problem

The v2.9.0 release run's publish job failed, and nothing was published to npm (latest is still 2.8.0). Run 36779953369, job 110111645983.

Publishing release-tarball/modelcontextprotocol-inspector-2.9.0.tgz (2.9.0) under dist-tag 'latest'
npm error command git --no-replace-objects ls-remote ssh://git@github.com/release-tarball/modelcontextprotocol-inspector-2.9.0.tgz.git
npm error git@github.com: Permission denied (publickey).

The step resolves the downloaded artifact with set -- release-tarball/*.tgz (.github/workflows/main.yml:388) and passes the bare relative path to npm publish. npm reads an argument of the form dir/file as GitHub owner/repo shorthand, so it tried to clone github.com/release-tarball/... over SSH instead of publishing the local file.

This is the package / publish split from #2483 (PR #2506) running for the first time. It could only be exercised by a real release, which is why the v2.9.0 smoke ledger recorded #2483 on proxy evidence.

Fix

Use ./release-tarball/*.tgz. With the ./ prefix, npm treats the argument as a local path. Everything else in the step, including the publishConfig refusal, the name and version re-assertion, and the pinned registry, is unchanged.

Re-release

A release event runs the workflow from the tag's commit, so re-running the failed job would fail the same way. Once this lands on v2/main, merge v2/main into main, then delete the 2.9.0 Release and tag and recreate them at the new main commit with the same notes. npm never received 2.9.0, so the version number stays.

Activity

  1. added this to the v2.9.0 milestone on Sep 30, 2026
  2. self-assigned this
    on Sep 30, 2026
  3. added
    bugSomething isn't working
    v2Issues and PRs for v2
    on Sep 30, 2026
  4. cliffhall commented on Sep 30, 2026

    @cliffhall
    MemberAuthor

    Triage: Priority Urgent (total 13)

    • Severity 5 — the release cannot publish: 2.9.0 never reached npm
    • Urgency 5 — blocking the v2.9.0 release, which is already tagged
    • Bonuses: +1 bug label, +1 milestoned (v2.9.0), +1 assigned

    Board: #28, Status In Progress.

  5. added 2 commits that reference this issue on Oct 4, 2026
    773f9b9
    6858a0f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv2Issues and PRs for v2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions