• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 30012919642
69%

Build:
DEFAULT BRANCH: main
Ran 23 Jul 2026 01:55PM UTC
Jobs 1
Files 819
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jul 2026 01:49PM UTC coverage: 69.119% (-0.01%) from 69.131%
30012919642

push

github

web-flow
Send current MCP protocol version in readiness probe (#5940)

Send current protocol version in readiness probe

The readiness probe hardcoded protocolVersion "2024-11-05" in its
initialize request. MCP servers that reject that ancient revision report
as never-ready even when healthy, so ToolHive waits out the full timeout
before failing to start them.

Advertise a pinned, current revision (2025-11-25) in the initialize body
instead. The version is deliberately pinned rather than tracking
mcp.LATEST_PROTOCOL_VERSION: the upcoming 2026-07-28 revision removes the
initialize method entirely (SEP-2575), so coupling the probe to a moving
"latest" constant would eventually emit a method:"initialize" request
stamped with a version that no longer defines it. The 2026-07-28 path
(server/discover) is deferred to #5754.

Also stop sending the MCP-Protocol-Version header on the initialize
request. The spec scopes that header to post-initialization requests
carrying the negotiated version and requires a server to reject an
unsupported value with HTTP 400 -- so a header would let a backend that
only supports an older revision fail the probe, whereas body-based
version negotiation degrades gracefully to HTTP 200. This closes item 1
of #5764.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

10 of 10 new or added lines in 1 file covered. (100.0%)

23 existing lines in 5 files now uncovered.

77093 of 111537 relevant lines covered (69.12%)

75.37 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
20.11
-3.45% pkg/client/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
5
61.69
-0.43% pkg/workloads/manager.go
3
73.79
-2.91% pkg/state/local.go
3
80.56
-0.7% pkg/transport/proxy/httpsse/http_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 30012919642.1 23 Jul 2026 01:55PM UTC 819
69.12
GitHub Action Run
Source Files on build 30012919642
  • Tree
  • List 819
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30012919642
  • 1d3e8664 on github
  • Prev Build on main (#30010696159)
  • Next Build on main (#30025327509)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc