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

stacklok / toolhive / 17854985096
59%

Build:
DEFAULT BRANCH: main
Ran 19 Sep 2025 10:00AM UTC
Jobs 1
Files 270
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

19 Sep 2025 09:56AM UTC coverage: 44.207% (-0.1%) from 44.355%
17854985096

push

github

web-flow
Thv registry deploy from controller (#1931)

* Add a service account and RBAC permissions for thv-registry-api

* Explicitly annotate mcpregistry controller to create deployments and services

* Optionally push the registry-api server to the kind cluster

* Create the deployment

* Create the service

* Actually deploy the service and the deployment

* fix lint

* actually deploy fix

* Replace DEPLOY_REGISTRY_API with ENABLE_EXPERIMENTAL_FEATURES

- Update Taskfile to use ENABLE_EXPERIMENTAL_FEATURES instead of DEPLOY_REGISTRY_API
- Replace registryAPI.serviceAccount.create condition with operator.features.experimental
- Registry API RBAC resources (ServiceAccount, ClusterRole, ClusterRoleBinding) now
  only created when experimental features are enabled
- Simplify deployment logic by consolidating feature flags

* Refactor registry-api deployment into a separate package

* Regenerate helm docs

* Reduce duplication with helper methods to get storage name and resource name for MCPRegistry

* Consolidate constants

* Add unit tests

* Consolidate logic in updating deployment to be the same as in updating service

* Review feedback: Only reconcile API service if sync err is nil

* Remove uneeded ConfigMap RBAC role

* Bump charts

286 of 770 new or added lines in 11 files covered. (37.14%)

3 existing lines in 2 files now uncovered.

15407 of 34852 relevant lines covered (44.21%)

15.72 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
86.36
-2.01% cmd/thv-operator/pkg/sources/storage_manager.go
6
0.0
0.0% cmd/thv-operator/api/v1alpha1/mcpregistry_types.go
38
0.0
cmd/thv-operator/pkg/registryapi/mocks/mock_manager.go
41
79.08
cmd/thv-operator/pkg/registryapi/deployment.go
49
0.0
0.0% cmd/thv-operator/controllers/mcpregistry_controller.go
49
42.35
cmd/thv-operator/pkg/registryapi/service.go
50
0.0
cmd/thv-operator/pkg/mcpregistrystatus/mocks/mock_collector.go
55
63.09
cmd/thv-operator/pkg/registryapi/manager.go
56
0.0
cmd/thv-operator/pkg/mcpregistrystatus/collector.go
59
0.0
cmd/thv-operator/pkg/sources/mocks/mock_storage_manager.go
78
0.0
cmd/thv-operator/pkg/sources/mocks/mock_source_handler.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.29
1.43% pkg/secrets/keyring/composite.go
2
82.15
-0.62% pkg/transport/proxy/httpsse/http_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 17854985096.1 19 Sep 2025 10:00AM UTC 270
44.21
GitHub Action Run
Source Files on build 17854985096
  • Tree
  • List 270
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17854985096
  • 8f1a7e94 on github
  • Prev Build on main (#17854266091)
  • Next Build on main (#17861493551)
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