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

stacklok / toolhive / 26034798346

18 May 2026 12:54PM UTC coverage: 65.517% (-0.06%) from 65.572%
26034798346

push

github

web-flow
Move HeaderForward helpers to pkg/vmcp/headerforward (#5302)

Move HeaderForward helpers to vmcp/headerforward

Lift BuildHeaderForwardTripper and its supporting types out of
pkg/vmcp/client/ into the new sibling package pkg/vmcp/headerforward/.
The helper now has two consumers — pkg/vmcp/client (capability-discovery
HTTP client) and pkg/vmcp/session/internal/backend (per-session client)
— and is not logically part of either. A pkg/vmcp/headerforward/wirefmt
subpackage already exists, so the namespace is established.

Pure mechanical relocation: no behavior change, no signature change,
existing tests still cover the helper. This makes future vMCP
anti-pattern #8 cleanup (consolidation of the two parallel HTTP-client
builders) more straightforward.

Related to #5289 (the bug whose fix in PR #5301 motivated the export).

3 of 3 new or added lines in 1 file covered. (100.0%)

1155 existing lines in 20 files now uncovered.

64786 of 98884 relevant lines covered (65.52%)

60.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

78.93
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

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