Skip to content

Drop legacy ToolHive registry format references from docs - #5087

Merged
rdimitrov merged 1 commit into
mainfrom
fixes
Apr 28, 2026
Merged

rdimitrov merged 1 commit into
mainfrom
fixes

Conversation

@rdimitrov

Copy link
Copy Markdown
Member

Summary

PR #5067 removed support for the legacy ToolHive registry format from pkg/registry, but several in-repo docs were left documenting it as supported and shipping example YAML / registry data using it. This PR brings the docs in line with the code.

  • Rewrites the "Upstream MCP Registry Format" section in docs/arch/06-registry-system.md to reflect that ToolHive consumes upstream-format only, and points readers at thv registry convert for migration.
  • Strips format: toolhive from every YAML example across the architecture and operator docs (matches the canonical examples in examples/operator/mcp-registries/, which already omit it).
  • Updates the Quick Start in cmd/thv-operator/REGISTRY.md to use the upstream registry envelope and schema URL instead of the deleted toolhive-legacy-registry.schema.json.
  • Replaces the operator doc's "Registry Formats" section and API source prose, which still described the legacy format as the default and called upstream "not yet supported".
  • Fixes external links that pointed at the deprecated registry-schema-toolhive reference page and the deleted local legacy schema file.

Closes #5086

Type of change

  • Documentation update

Test plan

  • Verified no remaining format: toolhive, toolhive format, or toolhive-legacy-registry references in docs/, README.md, or the operator README/REGISTRY docs.
  • Cross-checked YAML examples against the canonical examples/operator/mcp-registries/ shape.

Does this introduce a user-facing change?

Documentation only. No code or behavior change.

🤖 Generated with Claude Code

@github-actions github-actions Bot added the size/S Small PR: 100-299 lines changed label Apr 28, 2026

@jhrozek jhrozek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Narrow, well-scoped docs alignment with #5067. Verified all the factual claims:

  • Schema URL stacklok/toolhive-core/.../upstream-registry.schema.json returns 200
  • pkg/registry/data/ is gone (legacy schema file removed)
  • docs/registry/schema.md link target exists
  • thv registry convert --in <file> --in-place matches the real CLI
  • Quick Start envelope (meta + data.servers[] + publisher-provided _meta) matches the canonical example in examples/operator/mcp-registries/mcpregistry-configyaml-configmap.yaml
  • No format: toolhive / toolhive-legacy-registry / registry-schema-toolhive references left in docs

One observation for a follow-up (out of scope here): cmd/thv-operator/REGISTRY.md still documents a typed spec.sources path (configMapRef, git, api) that no longer exists in the v1beta1 MCPRegistrySpec — the spec only carries configYAML now, and all canonical examples already use the decoupled path. Worth a separate alignment pass.

@codecov

codecov Bot commented Apr 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.82%. Comparing base (b470ddb) to head (d6f86ea).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5087      +/-   ##
==========================================
+ Coverage   69.80%   69.82%   +0.02%     
==========================================
  Files         570      570              
  Lines       56919    56919              
==========================================
+ Hits        39731    39746      +15     
+ Misses      14139    14128      -11     
+ Partials     3049     3045       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rdimitrov
rdimitrov merged commit 061d7fb into main Apr 28, 2026
42 of 43 checks passed
@rdimitrov
rdimitrov deleted the fixes branch April 28, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Small PR: 100-299 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs still reference the legacy ToolHive registry format

2 participants