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

stacklok / toolhive / 23592953951
65%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2026 12:00PM 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 11:55AM UTC coverage: 65.328% (+0.05%) from 65.282%
23592953951

push

github

web-flow
wire spec-driven replicas and Redis password for VirtualMCPServer (#4367)

* 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 Redis password for VirtualMCPServer

- Nil-passthrough for Deployment.Spec.Replicas (hands-off when spec.replicas
  is nil, spec-driven when set) for HPA compatibility
- Add terminationGracePeriodSeconds (30s) to vMCP pod spec
- Add buildRedisPasswordEnvVar: injects THV_SESSION_REDIS_PASSWORD from
  SessionStorageConfig.PasswordRef when provider is redis
- Sync Spec.Replicas on update when spec.replicas is non-nil
- deploymentNeedsUpdate detects replica drift for spec-driven scaling

Closes: #4215

---------

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

39 of 57 new or added lines in 3 files covered. (68.42%)

52129 of 79796 relevant lines covered (65.33%)

65.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
18
65.08
-0.4% cmd/thv-operator/controllers/virtualmcpserver_controller.go
Jobs
ID Job ID Ran Files Coverage
1 23592953951.1 26 Mar 2026 12:00PM UTC 584
65.33
GitHub Action Run
Source Files on build 23592953951
  • Tree
  • List 584
  • Changed 9
  • Source Changed 5
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23592953951
  • aa18184a on github
  • Prev Build on main (#23592820236)
  • Next Build on main (#23593408914)
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