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

stacklok / toolhive / 23134320457

16 Mar 2026 08:22AM UTC coverage: 64.506% (-0.05%) from 64.554%
23134320457

push

github

web-flow
Remove session v1 and SessionManagementV2 feature flag (#4128)

* Remove session v1 and SessionManagementV2 feature flag

Session v2 is now the sole implementation. The SessionManagementV2
config option has been deleted along with all v1 code paths:
VMCPSession, sessionIDAdapter, the global-router-based discovery
fallback, and related tests. SessionFactory is now a required field
on server.Config. All "V2" naming has been dropped — factories,
managers, tests, and e2e fixtures now use plain "session" terminology.
Dead v1 capability-injection helpers (injectCapabilities,
injectOptimizerCapabilities, setSessionResourcesDirect) have been
removed, as has the operator's conditional HMAC-secret guard.

Affected: pkg/vmcp/server, pkg/vmcp/session, pkg/vmcp/config,
          pkg/vmcp/discovery, cmd/vmcp, cmd/thv-operator, test/e2e

Related-to: #3872

* use mocks

---------

Co-authored-by: taskbot <taskbot@users.noreply.github.com>

240 of 334 new or added lines in 8 files covered. (71.86%)

104 existing lines in 12 files now uncovered.

48783 of 75626 relevant lines covered (64.51%)

71.69 hits per line

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

79.79
/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