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

stacklok / toolhive / 22667583280
64%

Build:
DEFAULT BRANCH: main
Ran 04 Mar 2026 11:43AM UTC
Jobs 1
Files 530
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

04 Mar 2026 11:34AM UTC coverage: 63.745% (-0.01%) from 63.759%
22667583280

push

github

web-flow
Enable sticky sessions on operator-created Services (#3986)

* Enable sticky sessions on operator-created Services

MCP servers use stateful session protocols (SSE, streamable-http).
When replicas > 1, Kubernetes round-robin routing breaks sessions.
Set SessionAffinity: ClientIP on all operator-created Services
(MCPServer, MCPRemoteProxy, VirtualMCPServer) so requests from
the same client consistently reach the same backend pod.

Also add drift detection in serviceNeedsUpdate() and copy
SessionAffinity in the ensureService update paths so existing
Services get reconciled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Update operator architecture docs for SessionAffinity

Document that all operator-created Services use
SessionAffinity: ClientIP to support stateful MCP sessions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

12 of 19 new or added lines in 5 files covered. (63.16%)

89 existing lines in 4 files now uncovered.

46519 of 72977 relevant lines covered (63.74%)

75.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
61.51
-0.24% cmd/thv-operator/controllers/mcpremoteproxy_controller.go
4
54.11
-0.13% cmd/thv-operator/controllers/mcpserver_controller.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
69.2
0.02% cmd/thv-operator/controllers/virtualmcpserver_controller.go
2
82.83
-0.26% pkg/vmcp/composer/workflow_engine.go
6
75.47
-5.66% pkg/secrets/keyring/keyctl_linux.go
80
53.59
-0.27% pkg/workloads/manager.go
Jobs
ID Job ID Ran Files Coverage
1 22667583280.1 04 Mar 2026 11:43AM UTC 530
63.74
GitHub Action Run
Source Files on build 22667583280
  • Tree
  • List 530
  • Changed 9
  • Source Changed 6
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22667583280
  • b7cf0f78 on github
  • Prev Build on main (#22666181436)
  • Next Build on main (#22670494906)
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