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

stacklok / toolhive / 23590683587
65%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2026 11:02AM UTC
Jobs 1
Files 584
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

26 Mar 2026 10:57AM UTC coverage: 65.282%. Remained the same
23590683587

push

github

web-flow
Wire spec-driven replicas and session storage validation for MCPServer (#4364)

* Add CRD type changes for horizontal scaling

Add SessionStorageConfig struct and scaling fields to MCPServer and
VirtualMCPServer CRDs as the foundation for horizontal scaling support.

- Add SessionStorageConfig struct with Provider, Address, DB, KeyPrefix,
  and PasswordRef fields; CEL rule enforces address is required for redis
- Add Replicas *int32, BackendReplicas *int32, SessionStorage to MCPServerSpec
- Add Replicas *int32, SessionStorage to VirtualMCPServerSpec
- Nil pointer fields allow HPA to manage replicas without operator interference
- Regenerate zz_generated.deepcopy.go and CRD manifests

Closes: #4206

* Wire spec-driven replicas and session storage validation for MCPServer

- resolveDeploymentReplicas: nil-passthrough preserves HPA compatibility,
  stdio cap enforced at 1 as defense-in-depth
- Add terminationGracePeriodSeconds (30s default) to proxy runner pod spec
- validateStdioReplicaCap: Warning condition when stdio + spec.replicas > 1
- validateSessionStorageForReplicas: Warning condition when replicas > 1
  without Redis session storage configured

Closes #4217

---------

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

71 of 82 new or added lines in 1 file covered. (86.59%)

34 existing lines in 4 files now uncovered.

52058 of 79743 relevant lines covered (65.28%)

65.69 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
11
57.76
1.5% cmd/thv-operator/controllers/mcpserver_controller.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
57.76
1.5% cmd/thv-operator/controllers/mcpserver_controller.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
Jobs
ID Job ID Ran Files Coverage
1 23590683587.1 26 Mar 2026 11:02AM UTC 584
65.28
GitHub Action Run
Source Files on build 23590683587
  • Tree
  • List 584
  • Changed 9
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23590683587
  • 6b8f044d on github
  • Prev Build on main (#23589745915)
  • Next Build on main (#23592475437)
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