Skip to content

Fix MCP Registry publish racing PyPI index#88

Merged
negillett merged 1 commit into
mainfrom
fix/wait-for-pypi-registry
Jun 1, 2026
Merged

Fix MCP Registry publish racing PyPI index#88
negillett merged 1 commit into
mainfrom
fix/wait-for-pypi-registry

Conversation

@negillett
Copy link
Copy Markdown
Collaborator

Summary

  • Strengthen wait-for-pypi.sh: 30s initial delay, cache-busted polls,
    JSON validation via check_pypi_release_json.py (version + wheel +
    sdist), and 2 consecutive ready polls before proceeding.
  • Run wait explicitly in release and publish-mcp-registry
    workflows; pass PYPI_VERSION from release check job output.
  • Remove duplicate wait from publish-mcp-registry.sh (publish only).

Fixes release runs where mcp-publisher failed until manually re-run
after 0.2.1 / 0.2.2.

Test plan

  • pytest -q tests/test_check_pypi_release_json.py tests/test_workflows.py (17 passed)
  • CI on PR

Validate wheel and sdist on the release JSON, add an initial delay,
require stable consecutive polls, and pass PYPI_VERSION from release
check output so registry publish does not race PyPI indexing.
@negillett negillett merged commit 9389250 into main Jun 1, 2026
3 checks passed
@negillett negillett deleted the fix/wait-for-pypi-registry branch June 1, 2026 01:53
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.

1 participant