Skip to content

Publish: a version already in the MCP Registry is not a failure - #6

Merged
Karzone merged 1 commit into
mainfrom
claude/beautiful-archimedes-dbzisv
Oct 11, 2026
Merged

Karzone merged 1 commit into
mainfrom
claude/beautiful-archimedes-dbzisv

Conversation

@Karzone

@Karzone Karzone commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Summary

The "Publish to the MCP Registry" step in publish.yml failed whenever the version was already registered. That happened with the v0.1.14 release (run 38128314315): 0.1.14 had already been registered by a manual run, so the registry answered 400 … "invalid version: cannot publish duplicate version" and the run went red, though nothing was wrong.

Now that reply passes, with a ::notice:: saying the version is already registered. Any other mcp-publisher error still fails the run, and its output is still printed.

Related issue

None.

Type of change

  • Bug fix
  • New feature / analyzer
  • Documentation
  • Build / CI / tooling
  • Other

Checklist

  • dotnet build passes (CI)
  • dotnet test passes (CI)
  • Added or updated tests for the change (workflow-only; tested by hand, see below)
  • Updated docs / README if behavior or usage changed
  • Change keeps TestAtlas zero-config, offline, and deterministic

Notes for reviewers

PR CI doesn't run publish.yml, so I tested the step by hand. I took its run: block from the parsed YAML and ran it under bash -e, as Actions does, against a stand-in mcp-publisher:

Stand-in reply Step exit
success 0
400 "cannot publish duplicate version" 0, with the notice
401 unauthorized 1

The real check comes with the next release, or with a manual Publish run for an existing version.

🤖 Generated with Claude Code

https://claude.ai/code/session_013F6VMUcDtZmJX3ZibLuzXg


Generated by Claude Code

Re-running Publish for a registered version (a release published after a
manual run, as with v0.1.14) failed at the last step with 400 "cannot
publish duplicate version", though nothing was wrong. That reply now
passes with a notice; any other registry error still fails the run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013F6VMUcDtZmJX3ZibLuzXg
@Karzone
Karzone merged commit 127292e into main Oct 11, 2026
1 check passed
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.

2 participants