Repository navigation
Conversation
Signed-off-by: Radoslav Dimitrov <[email protected]>
rdimitrov
requested review from
ChrisJBurns,
JAORMX,
amirejaz,
jerm-dro,
jhrozek and
yrobla
as code owners
April 28, 2026 11:22
jhrozek
approved these changes
Apr 28, 2026
jhrozek
left a comment
Contributor
There was a problem hiding this comment.
Narrow, well-scoped docs alignment with #5067. Verified all the factual claims:
- Schema URL
stacklok/toolhive-core/.../upstream-registry.schema.jsonreturns 200 pkg/registry/data/is gone (legacy schema file removed)docs/registry/schema.mdlink target existsthv registry convert --in <file> --in-placematches the real CLI- Quick Start envelope (
meta+data.servers[]+ publisher-provided_meta) matches the canonical example inexamples/operator/mcp-registries/mcpregistry-configyaml-configmap.yaml - No
format: toolhive/toolhive-legacy-registry/registry-schema-toolhivereferences 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 Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.docs/arch/06-registry-system.mdto reflect that ToolHive consumes upstream-format only, and points readers atthv registry convertfor migration.format: toolhivefrom every YAML example across the architecture and operator docs (matches the canonical examples inexamples/operator/mcp-registries/, which already omit it).cmd/thv-operator/REGISTRY.mdto use the upstream registry envelope and schema URL instead of the deletedtoolhive-legacy-registry.schema.json.registry-schema-toolhivereference page and the deleted local legacy schema file.Closes #5086
Type of change
Test plan
format: toolhive,toolhive format, ortoolhive-legacy-registryreferences indocs/,README.md, or the operator README/REGISTRY docs.examples/operator/mcp-registries/shape.Does this introduce a user-facing change?
Documentation only. No code or behavior change.
🤖 Generated with Claude Code