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

stacklok / toolhive / 22095898553
62%

Build:
DEFAULT BRANCH: main
Ran 17 Feb 2026 11:10AM UTC
Jobs 1
Files 536
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

17 Feb 2026 11:01AM UTC coverage: 62.031% (-0.05%) from 62.08%
22095898553

push

github

web-flow
Add extensible container runtime registry (#3832)

Introduce a global runtime registry so that built-in runtimes
self-register via init() and external runtimes can register by
blank-importing their package. The factory now seeds from the
registry instead of hardcoding Docker and Kubernetes.

Key changes:
- Add runtime.Registry struct with DI-friendly design for testability
- Add runtime.Info and runtime.Initializer types (moved from factory)
- Docker and Kubernetes self-register via init() with priority ordering
- Factory.NewFactoryFromRegistry() enables isolated testing
- Auto-detection uses priority ordering (lower = tried first)
- All tests run fully in parallel with isolated registry instances

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

103 of 139 new or added lines in 4 files covered. (74.1%)

61 existing lines in 7 files now uncovered.

44607 of 71911 relevant lines covered (62.03%)

78.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
50.0
pkg/container/kubernetes/register.go
12
82.86
pkg/container/runtime/registry.go
19
42.34
-9.26% pkg/container/factory.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
3
71.85
-1.11% pkg/ignore/processor.go
6
75.47
-5.66% pkg/secrets/keyring/keyctl_linux.go
8
25.0
-4.44% pkg/client/manager.go
11
68.42
-14.47% pkg/client/discovery.go
14
74.44
-5.19% pkg/client/config.go
17
42.34
-9.26% pkg/container/factory.go
Jobs
ID Job ID Ran Files Coverage
1 22095898553.1 17 Feb 2026 11:10AM UTC 536
62.03
GitHub Action Run
Source Files on build 22095898553
  • Tree
  • List 536
  • Changed 9
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22095898553
  • c0924fdc on github
  • Prev Build on main (#22094260443)
  • Next Build on main (#22103270324)
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