Skip to content

Bump toolhive-core to v0.0.53 - #949

Merged
rdimitrov merged 1 commit into
mainfrom
bump-toolhive-core-v0.0.53
Oct 14, 2026
Merged

rdimitrov merged 1 commit into
mainfrom
bump-toolhive-core-v0.0.53

Conversation

@rdimitrov

Copy link
Copy Markdown
Member

Summary

Bumps github.com/stacklok/toolhive-core from v0.0.50 to v0.0.53 to pick up stacklok/toolhive-core#374.

Before that fix, the publisher-provided schema required every key outside io.github.stacklok to be an object. A server.json that follows the upstream MCP Registry spec's own example failed validation:

"_meta": {
  "io.modelcontextprotocol.registry/publisher-provided": {
    "tool": "publisher-cli", "version": "1.2.3", "buildInfo": { "commit": "abc" }
  }
}

File and Git sources validate the whole registry file, so a single server like this made the entire source fail to sync. API sources and POST /v1/entries don't run that check, so the same server.json was already accepted there.

Dependency changes

The diff is large because v0.0.53 requires newer versions of many shared dependencies; Go then upgrades everything else in the module to match. The only other direct dependencies that move are small bumps: prometheus/client_golang v1.25.0, aws/smithy-go v1.28.5 and golang.org/x/term v0.47.0. The rest are indirect, including golang.org/x/net v0.61.0 and grpc v1.84.0.

Testing

  • go build ./... and go test ./... pass.
  • Integration tests pass for internal/authz, internal/app/... and internal/sync/....
  • A temporary test (not committed) confirmed that a file source containing the upstream example above now syncs and keeps the publisher-provided data. It was rejected before.
  • Grype (--only-fixed --fail-on high) reports no vulnerabilities.

🤖 Generated with Claude Code

Picks up stacklok/toolhive-core#374, which lets keys under
`publisher-provided` other than `io.github.stacklok` hold any JSON
value. Previously a server.json following the upstream spec's own
example (plain values such as `"tool": "publisher-cli"`) failed schema
validation and made the whole file or Git source fail to sync.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.02%. Comparing base (bb1f338) to head (c40addd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #949   +/-   ##
=======================================
  Coverage   67.02%   67.02%           
=======================================
  Files         116      116           
  Lines       11216    11216           
=======================================
  Hits         7518     7518           
  Misses       3698     3698           

☔ View full report in Codecov by Harness.
📢 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 1ffdcc8 into main Oct 14, 2026
15 checks passed
@rdimitrov
rdimitrov deleted the bump-toolhive-core-v0.0.53 branch October 14, 2026 10:54
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.

3 participants