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

stacklok / toolhive / 23134320457
65%

Build:
DEFAULT BRANCH: main
Ran 16 Mar 2026 08:26AM UTC
Jobs 1
Files 559
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

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

New Missed Lines in Diff

Lines Coverage ∆ File
3
90.51
0.86% pkg/vmcp/server/sessionmanager/session_manager.go
9
93.89
2.54% pkg/vmcp/discovery/middleware.go
11
0.0
0.0% cmd/vmcp/app/commands.go
20
78.61
2.53% pkg/vmcp/server/server.go
51
72.43
pkg/vmcp/session/types/mocks/mock_session.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% cmd/vmcp/app/commands.go
2
79.79
-0.52% pkg/transport/proxy/httpsse/http_proxy.go
2
75.91
-1.46% pkg/transport/session/manager.go
2
57.89
-3.51% pkg/transport/session/sse_session.go
2
93.89
2.54% pkg/vmcp/discovery/middleware.go
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
3
71.85
-1.11% pkg/ignore/processor.go
4
78.61
2.53% pkg/vmcp/server/server.go
8
23.56
-4.6% pkg/client/manager.go
11
68.42
-14.47% pkg/client/discovery.go
14
74.44
-5.19% pkg/client/config.go
53
62.83
-11.73% pkg/vmcp/client/client.go
Jobs
ID Job ID Ran Files Coverage
1 23134320457.1 16 Mar 2026 08:26AM UTC 559
64.51
GitHub Action Run
Source Files on build 23134320457
  • Tree
  • List 559
  • Changed 25
  • Source Changed 15
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23134320457
  • e719f471 on github
  • Prev Build on main (#23133024079)
  • Next Build on main (#23136443608)
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