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

stacklok / toolhive / 45860865358
75%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2026 04:48PM UTC
Jobs 1
Files 1082
Run time 1min
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

26 Nov 2026 04:39PM UTC coverage: 74.755% (+0.1%) from 74.659%
45860865358

push

github

web-flow
Add an MCP initialize readiness check (#6374)

* Add MCP initialize readiness check

Expose a protocol-level preflight for Agent harnesses and CI. The check performs only transport setup and the MCP initialize handshake, then reports negotiated metadata without enumerating or invoking capabilities.

Signed-off-by: XD <xd@XDdeMacBook-Pro.local>

* Harden MCP readiness check output

Keep mcp check flags isolated from sibling commands and route text and JSON results through Cobra output writers. Add real initialize-only and CLI regression coverage, then regenerate the command documentation.

Signed-off-by: XD <xd@XDdeMacBook-Pro.local>

* Regenerate thv mcp check CLI docs

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Report probe failure causes and ignore close errors

In auto mode the readiness check collapsed every failure into one
generic message, hiding whether a server rejected credentials (fix
config) or was not ready yet (retry). Keep each transport attempt's
error so the cause reaches the user.

A failed session-teardown DELETE also marked a server that completed
the initialize handshake as not ready, and in auto mode triggered a
pointless SSE fallback. Readiness now depends only on the handshake;
close failures are logged at WARN, matching the other thv mcp commands.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Signed-off-by: XD <xd@XDdeMacBook-Pro.local>
Co-authored-by: XD <xd@XDdeMacBook-Pro.local>
Co-authored-by: Chris Burns <29541485+ChrisJBurns@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

79 of 98 new or added lines in 3 files covered. (80.61%)

5 existing lines in 3 files now uncovered.

103311 of 138200 relevant lines covered (74.75%)

985.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
78.69
cmd/thv/app/mcp_check.go
6
45.05
45.05% pkg/mcp/client/client.go

Coverage Regressions

Lines Coverage ∆ File
2
73.19
-0.27% pkg/transport/proxy/streamable/streamable_proxy.go
2
91.94
-1.61% pkg/vmcp/aggregator/caching_aggregator.go
1
81.82
-0.12% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 45860865358.1 26 Nov 2026 04:48PM UTC 1082
74.75
GitHub Action Run
Source Files on build 45860865358
  • Tree
  • List 1082
  • Changed 14
  • Source Changed 2
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45860865358
  • fe576c41 on github
  • Prev Build on main (#45851226366)
  • Next Build on main (#45864323514)
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