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

stacklok / toolhive / 23584042049
65%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2026 08:15AM UTC
Jobs 1
Files 579
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 Mar 2026 08:10AM UTC coverage: 65.342% (+0.06%) from 65.284%
23584042049

push

github

web-flow
Wire session-aware backend routing in proxy transports (RC-12) (#4318)

* fix(ci): clear full build cache before coverage to prevent NumStmt mismatch

The CI Go build cache is keyed on go.sum, so source-only changes do not
bust it. With -coverpkg=./..., every test binary instruments all packages;
if any binary was compiled from a stale cached artifact whose coverage
statement count differs from the current source, go tool cover -func errors
with "inconsistent NumStmt: changed from N to M".

Replace go clean -testcache with go clean -cache -testcache so that both
the test-result cache and the compiled artifact cache are wiped before each
coverage run, guaranteeing every package is instrumented from fresh source.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(session): add WithSessionStorage option to streamable proxy (RC-12)

Adds Option/WithSessionStorage functional option to the streamable HTTP
proxy, enabling injection of a custom session storage backend for
multi-replica deployments. Updates NewHTTPProxy signature from variadic
middlewares to explicit slice + variadic opts, and fixes all call sites.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(session): add WithSessionStorage option to HTTP-SSE proxy (RC-12)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(session): add WithSessionStorage option to transparent proxy (RC-12)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(session): store backend_url on initialize and route via metadata in Rewrite (RC-12)

On initialize responses that return Mcp-Session-Id, RoundTrip now creates
the session via AddSession and stores backend_url=targetURI in metadata.
The Rewrite closure in Start looks up that metadata to override the outbound
URL, enabling session-aware routing to originating backend pods.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(session): return HTTP 400 for non-initialize requests with unknown s... (continued)

137 of 188 new or added lines in 6 files covered. (72.87%)

2 existing lines in 1 file now uncovered.

51751 of 79200 relevant lines covered (65.34%)

65.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
64.69
0.82% pkg/transport/proxy/streamable/streamable_proxy.go
11
76.6
-4.76% pkg/vmcp/session/types/mocks/mock_session.go
12
79.38
-0.93% pkg/transport/proxy/httpsse/http_proxy.go
12
81.8
1.0% pkg/transport/proxy/transparent/transparent_proxy.go
14
44.64
-1.2% pkg/transport/stdio.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
57.89
-3.51% pkg/transport/session/sse_session.go
Jobs
ID Job ID Ran Files Coverage
1 23584042049.1 26 Mar 2026 08:15AM UTC 579
65.34
GitHub Action Run
Source Files on build 23584042049
  • Tree
  • List 579
  • Changed 14
  • Source Changed 6
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23584042049
  • 3c7a3b0f on github
  • Prev Build on main (#23582394157)
  • Next Build on main (#23586125736)
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