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

stacklok / toolhive / 27960684761
67%

Build:
DEFAULT BRANCH: main
Ran 22 Jun 2026 02:42PM UTC
Jobs 1
Files 765
Run time 3min
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

22 Jun 2026 02:36PM UTC coverage: 67.125% (-0.04%) from 67.164%
27960684761

push

github

web-flow
Add testutil.NewScheme helper and migrate operator test schemes (#5565)

Add testutil.NewScheme and migrate operator tests

Operator unit tests hand-rolled runtime.NewScheme() + per-type
AddToScheme blocks in ~57 files, plus 11 near-identical package-level
scheme-builder helpers. The same registration set was copy-pasted
hundreds of times, drifting in which types each test bothered to add.

Introduce a single shared helper, testutil.NewScheme(t), that registers
the client-go built-in types plus both operator API versions, with a
variadic for the rare test needing an extra API (e.g. apiextensionsv1).
Migrate every scheme-construction site to it and delete the 11 redundant
builders. Net -520 lines; no behavior change (the built-in superset is a
no-op for fake clients that don't use the extra types).

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

12 of 12 new or added lines in 1 file covered. (100.0%)

75 existing lines in 5 files now uncovered.

69590 of 103672 relevant lines covered (67.13%)

64.77 hits per line

Coverage Regressions

Lines Coverage ∆ File
59
56.71
-5.04% pkg/workloads/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
5
0.0
-100.0% pkg/workloads/sysproc_unix.go
3
64.0
-0.14% cmd/thv-operator/controllers/virtualmcpserver_controller.go
2
94.77
-1.31% pkg/vmcp/composer/dag_executor.go
Jobs
ID Job ID Ran Files Coverage
1 27960684761.1 22 Jun 2026 02:42PM UTC 765
67.13
GitHub Action Run
Source Files on build 27960684761
  • Tree
  • List 765
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27960684761
  • 9aa377e3 on github
  • Prev Build on main (#27954375881)
  • Next Build on main (#27966214826)
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