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

stacklok / toolhive / 29639299804
69%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2026 09:36AM UTC
Jobs 1
Files 806
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

18 Jul 2026 09:31AM UTC coverage: 68.619% (+0.03%) from 68.592%
29639299804

push

github

web-flow
Stop VirtualMCPServer hot-reconcile on cleared podTemplateSpec (#5846)

A stale podTemplateSpecHashAnnotation left over from a prior reconcile
(when spec.podTemplateSpec was set) survived MergeAnnotations forever
once the field was cleared, since the desired annotations map no
longer carried a key to overwrite it with. That made
podTemplateSpecNeedsUpdate report drift on every reconcile, hot-looping
the Deployment update — same bug class as #5817, fixed here for the
podTemplateSpec annotation:

- Made podTemplateSpecNeedsUpdate a plain stored != expected hash
  comparison instead of the previous asymmetric presence check.
- Extended mergeDeploymentAnnotations to prune podTemplateSpecHashAnnotation
  alongside imagePullRefsHashAnnotation when desired no longer wants it,
  collapsing the two prune checks into one loop.
- Fixed the identical bug in the MCPRegistry registry-api deployment path
  (cmd/thv-operator/pkg/registryapi/deployment.go), where the same stale
  annotation could survive an additive-only annotation merge.
- Added regression tests for both controllers, each reconciling twice
  from a stale-annotation fixture and asserting the second pass is a
  true no-op.

Fixes #5818

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

12 of 15 new or added lines in 2 files covered. (80.0%)

12 existing lines in 5 files now uncovered.

75095 of 109437 relevant lines covered (68.62%)

72.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
65.91
0.12% cmd/thv-operator/controllers/virtualmcpserver_controller.go

Coverage Regressions

Lines Coverage ∆ File
4
61.78
0.09% pkg/workloads/manager.go
2
96.05
0.0% pkg/authserver/storage/memory.go
2
93.94
-6.06% pkg/foreach/foreach.go
2
88.24
-5.88% pkg/vmcp/backendregistry/registry.go
2
94.77
-1.31% pkg/vmcp/composer/dag_executor.go
Jobs
ID Job ID Ran Files Coverage
1 29639299804.1 18 Jul 2026 09:36AM UTC 806
68.62
GitHub Action Run
Source Files on build 29639299804
  • Tree
  • List 806
  • Changed 12
  • Source Changed 2
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29639299804
  • 1c60f0fa on github
  • Prev Build on main (#29618549899)
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