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

stacklok / toolhive / 19960812459
60%

Build:
DEFAULT BRANCH: main
Ran 05 Dec 2025 11:00AM UTC
Jobs 1
Files 392
Run time 2min
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

05 Dec 2025 10:57AM UTC coverage: 49.814% (-0.003%) from 49.817%
19960812459

push

github

web-flow
Fix vMCP podTemplateSpec when only pod-level settings is applied (#2897)

* Fix PodTemplateSpec strategic merge wiping containers

When users provided a PodTemplateSpec with only pod-level settings
(like nodeSelector), the Deployment creation failed because containers
were being wiped out.

Root cause: The code parsed user JSON into a Go struct then re-marshaled
it. Go's json.Marshal converts nil slices to [], which strategic merge
patch interprets as "replace with empty array" - removing the vmcp
container.

Fix: Use the raw JSON bytes directly from Spec.PodTemplateSpec.Raw
instead of re-marshaling, preserving exactly what the user specified.

* Add integration test for the vMCP podTemplateSpec

6 of 8 new or added lines in 1 file covered. (75.0%)

2 existing lines in 1 file now uncovered.

26323 of 52843 relevant lines covered (49.81%)

59.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
58.24
0.0% cmd/thv-operator/controllers/virtualmcpserver_deployment.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
94.67
-1.33% pkg/vmcp/composer/dag_executor.go
Jobs
ID Job ID Ran Files Coverage
1 19960812459.1 05 Dec 2025 11:00AM UTC 392
49.81
GitHub Action Run
Source Files on build 19960812459
  • Tree
  • List 392
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19960812459
  • a08b8ba1 on github
  • Prev Build on main (#19960750055)
  • Next Build on main (#19961614750)
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