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

stacklok / toolhive / 29740184376
69%

Build:
DEFAULT BRANCH: main
Ran 20 Jul 2026 12:00PM UTC
Jobs 1
Files 806
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

20 Jul 2026 11:54AM UTC coverage: 68.66% (+0.009%) from 68.651%
29740184376

push

github

web-flow
Add stateless routing to streamable MCP proxy (#5839)

The MCP 2026-07-28 (Modern) revision is stateless: requests carry
protocol metadata per-request in _meta and there is no Mcp-Session-Id.
The streamable proxy multiplexes every request onto one stdio pipe and
demuxes responses by compositeKey(sessID, idKey), so a Modern request
that carried a client-supplied session id would fall through to the
session-lookup path and could collide with a concurrent request on the
same key, cross-delivering one client's response to another.

Classify each single POST via mcp.ClassifyRevision. Modern requests get
a fresh per-request routing token, ignore any Mcp-Session-Id header, and
never touch the session manager; classification errors are rejected with
an HTTP 400 JSON-RPC error. Legacy behavior is unchanged.

Add mcp.ExtractMeta to pull _meta from raw params, deduped with the
parser's existing extraction via a shared helper.

Message-shape enforcement (batches, client-sent responses, GET/DELETE)
is deferred; those paths remain Legacy-only by construction.

Part of #5830.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

61 of 68 new or added lines in 3 files covered. (89.71%)

19 existing lines in 4 files now uncovered.

75182 of 109499 relevant lines covered (68.66%)

73.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
69.75
1.58% pkg/transport/proxy/streamable/streamable_proxy.go

Coverage Regressions

Lines Coverage ∆ File
7
61.52
-0.6% pkg/workloads/manager.go
6
20.11
-3.45% pkg/client/manager.go
3
73.79
-2.91% pkg/state/local.go
3
64.29
-4.29% pkg/state/runconfig.go
Jobs
ID Job ID Ran Files Coverage
1 29740184376.1 20 Jul 2026 12:00PM UTC 806
68.66
GitHub Action Run
Source Files on build 29740184376
  • Tree
  • List 806
  • Changed 10
  • Source Changed 3
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29740184376
  • 217b0bed on github
  • Prev Build on main (#29727742265)
  • Next Build on main (#29749964578)
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