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

stacklok / toolhive / 24566568053
66%

Build:
DEFAULT BRANCH: main
Ran 17 Apr 2026 01:10PM UTC
Jobs 1
Files 638
Run time 2min
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 Apr 2026 01:04PM UTC coverage: 66.277% (-0.007%) from 66.284%
24566568053

push

github

web-flow
Add pkg/vmcp/cli/init.go for vMCP config scaffolding (#4903)

Implement Init(ctx, InitConfig) which discovers running workloads in a
named ToolHive group via an injected Discoverer, renders a commented
starter YAML config pre-populated with one backend entry per accessible
workload, and writes the result to a file (0o600) or an io.Writer.

Workloads returning nil from GetWorkloadAsVMCPBackend are skipped with
a debug log. Empty groups produce a valid YAML skeleton with backends: [].

Includes unit tests covering writer output, file output, nil-backend
skipping, empty groups, discovery errors, YAML validity (loader +
validator), file permissions, and input validation edge cases.

Closes #4882

Co-authored-by: taskbot <taskbot@users.noreply.github.com>

63 of 83 new or added lines in 1 file covered. (75.9%)

18 existing lines in 4 files now uncovered.

57714 of 87080 relevant lines covered (66.28%)

63.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
75.9
pkg/vmcp/cli/init.go

Coverage Regressions

Lines Coverage ∆ File
6
20.11
-3.45% pkg/client/manager.go
6
72.35
-1.29% pkg/runner/config.go
3
70.0
-3.33% pkg/state/local.go
3
79.38
-0.77% pkg/transport/proxy/httpsse/http_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 24566568053.1 17 Apr 2026 01:10PM UTC 638
66.28
GitHub Action Run
Source Files on build 24566568053
  • Tree
  • List 638
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24566568053
  • ee988f35 on github
  • Prev Build on main (#24566540368)
  • Next Build on main (#24574854072)
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