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

stacklok / toolhive / 23948280474

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

78.87
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

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