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

stacklok / toolhive / 23948280474
65%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 01:48PM UTC
Jobs 1
Files 601
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

03 Apr 2026 01:42PM UTC coverage: 65.336% (-0.06%) from 65.396%
23948280474

push

github

web-flow
Replace ReferencingServers with ReferencingWorkloads on MCPToolConfig (#4506)

Replace ReferencingServers with structured ReferencingWorkloads on MCPToolConfig

Migrate MCPToolConfig from plain string server names to structured
WorkloadReference entries (kind + name) per RFC-0023, following the
pattern already implemented on MCPOIDCConfig in PR #4492.

- Replace ReferencingServers []string with ReferencingWorkloads []WorkloadReference
- Add findReferencingWorkloads returning []WorkloadReference
- Update handleDeletion to use DeletionBlocked condition with ReferencedByWorkloads reason
- Update watch handler to check ref.Kind and ref.Name for stale entry cleanup
- Update unit, edge-case, and integration tests for WorkloadReference assertions
- Regenerate deepcopy, CRD manifests, and Helm templates

Closes #4491

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

23 of 78 new or added lines in 2 files covered. (29.49%)

48 existing lines in 8 files now uncovered.

54369 of 83214 relevant lines covered (65.34%)

63.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
55
50.52
-1.09% cmd/thv-operator/controllers/toolconfig_controller.go

Coverage Regressions

Lines Coverage ∆ File
14
74.44
-5.19% pkg/client/config.go
11
68.42
-14.47% pkg/client/discovery.go
8
23.56
-4.6% pkg/client/manager.go
5
78.87
-1.29% pkg/transport/proxy/httpsse/http_proxy.go
4
87.79
-2.33% pkg/transport/proxy/transparent/sse_response_processor.go
3
93.33
-5.0% pkg/vmcp/server/sessionmanager/cache.go
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
1
50.52
-1.09% cmd/thv-operator/controllers/toolconfig_controller.go
Jobs
ID Job ID Ran Files Coverage
1 23948280474.1 03 Apr 2026 01:48PM UTC 601
65.34
GitHub Action Run
Source Files on build 23948280474
  • Tree
  • List 601
  • Changed 10
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23948280474
  • 5627dcb5 on github
  • Prev Build on main (#23919797653)
  • Next Build on main (#23948316810)
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