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

stacklok / toolhive / 23748630781
65%

Build:
DEFAULT BRANCH: main
Ran 30 Mar 2026 02:03PM UTC
Jobs 1
Files 587
Run time 2min
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

30 Mar 2026 01:58PM UTC coverage: 65.538% (+0.01%) from 65.524%
23748630781

push

github

web-flow
Return JSON-RPC errors for expired sessions (#4426)

* Return JSON-RPC errors for expired sessions

ToolHive's proxies returned plain-text HTTP errors for expired or
unknown sessions. MCP clients like Claude Code rely on receiving
HTTP 404 with a JSON-RPC error body containing code -32001 to
trigger automatic session recovery. The plain-text responses
bypassed this detection, leaving connections broken until the
user manually restarted their client.

Fixes #4425

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Greg Katz <gkatz@indeed.com>

* Restore doc comment on MessageSessionNotFound

The revive linter requires exported constants to have doc
comments. The blank line between the two constants in the
const block means they need individual comments.

Signed-off-by: Greg Katz <gkatz@indeed.com>

---------

Signed-off-by: Greg Katz <gkatz@indeed.com>
Co-authored-by: Claude <noreply@anthropic.com>

39 of 55 new or added lines in 4 files covered. (70.91%)

4 existing lines in 2 files now uncovered.

52862 of 80659 relevant lines covered (65.54%)

64.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
79.85
-1.95% pkg/transport/proxy/transparent/transparent_proxy.go
4
89.47
pkg/transport/session/jsonrpc_errors.go

Coverage Regressions

Lines Coverage ∆ File
2
79.85
-1.95% pkg/transport/proxy/transparent/transparent_proxy.go
2
51.71
-0.19% pkg/workloads/manager.go
Jobs
ID Job ID Ran Files Coverage
1 23748630781.1 30 Mar 2026 02:03PM UTC 587
65.54
GitHub Action Run
Source Files on build 23748630781
  • Tree
  • List 587
  • Changed 5
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23748630781
  • c4658885 on github
  • Prev Build on main (#23748386802)
  • Next Build on main (#23749352567)
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