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

stacklok / toolhive / 23364212495
64%

Build:
DEFAULT BRANCH: main
Ran 20 Mar 2026 10:01PM UTC
Jobs 1
Files 570
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

20 Mar 2026 09:56PM UTC coverage: 64.45% (+0.02%) from 64.433%
23364212495

push

github

web-flow
Fix inspector URL using wrong transport for proxied stdio servers (#4300)

* Fix inspector URL using wrong transport for proxied stdio servers

`thv inspector` was reading the server's native TransportType (e.g.
"stdio") instead of ProxyMode to determine the inspector URL transport
and path suffix. This caused stdio servers proxied as streamable-http
to get a URL with transport=sse and /sse instead of
transport=streamable-http and /mcp.

Fixes #4298

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

* Address review feedback: rename function and simplify suffix logic

Rename getServerPortAndTransport to getServerPortAndProxyMode and
replace IIFE with plain if/else for the URL path suffix.

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

---------

Co-authored-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

8 of 22 new or added lines in 1 file covered. (36.36%)

24 existing lines in 5 files now uncovered.

50174 of 77849 relevant lines covered (64.45%)

92.24 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
14
4.1
4.1% cmd/thv/app/inspector.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
94.67
-1.33% pkg/vmcp/composer/dag_executor.go
2
51.71
1.8% pkg/workloads/manager.go
3
79.79
-0.79% pkg/transport/proxy/httpsse/http_proxy.go
4
80.76
-0.85% pkg/transport/proxy/transparent/transparent_proxy.go
13
4.1
4.1% cmd/thv/app/inspector.go
Jobs
ID Job ID Ran Files Coverage
1 23364212495.1 20 Mar 2026 10:01PM UTC 570
64.45
GitHub Action Run
Source Files on build 23364212495
  • Tree
  • List 570
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23364212495
  • 04ae1977 on github
  • Prev Build on main (#23357551214)
  • Next Build on main (#23370375418)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc