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

stacklok / toolhive / 23859518678
65%

Build:
DEFAULT BRANCH: main
Ran 01 Apr 2026 04:38PM UTC
Jobs 1
Files 597
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

01 Apr 2026 04:33PM UTC coverage: 65.493% (+0.03%) from 65.463%
23859518678

push

github

web-flow
Add status conditions to MCPToolConfig CRD (#4474)

* Add status conditions to MCPToolConfig CRD

MCPToolConfig was the only CRD in the operator without standard
Kubernetes conditions in its status. This adds a Conditions field
and sets a Valid condition during reconciliation, bringing it in
line with MCPServer, EmbeddingServer, and MCPExternalAuthConfig.

Closes #4472

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

* Avoid leaking errors into condition messages

Keep condition messages user-facing and static. The underlying error
is already logged via logger.Error and returned for requeue.

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

* Add integration tests for MCPToolConfig controller

Verify condition-setting, hash tracking, referencing server updates,
and finalizer-based deletion protection using envtest.

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

* Defer hash persist until after server lookup succeeds

Move ConfigHash and ObservedGeneration writes after the
findReferencingMCPServers call so a transient failure requeues
into handleConfigHashChange and MCPServer annotation updates
are not permanently skipped. Also regenerate CRD API docs.

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

---------

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

21 of 35 new or added lines in 2 files covered. (60.0%)

11 existing lines in 3 files now uncovered.

53363 of 81479 relevant lines covered (65.49%)

63.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
51.61
-0.26% cmd/thv-operator/controllers/toolconfig_controller.go

Coverage Regressions

Lines Coverage ∆ File
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
3
79.38
-0.77% pkg/transport/proxy/httpsse/http_proxy.go
2
82.6
-0.21% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 23859518678.1 01 Apr 2026 04:38PM UTC 597
65.49
GitHub Action Run
Source Files on build 23859518678
  • Tree
  • List 597
  • Changed 11
  • Source Changed 3
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23859518678
  • f1bd1803 on github
  • Prev Build on main (#23859324499)
  • Next Build on main (#23859528017)
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