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

stacklok / toolhive / 23250766151
64%

Build:
DEFAULT BRANCH: main
Ran 18 Mar 2026 02:54PM UTC
Jobs 1
Files 565
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

18 Mar 2026 02:49PM UTC coverage: 64.239% (-0.2%) from 64.458%
23250766151

push

github

web-flow
Validate RuntimeConfig fields at all entry points (#4196)

RuntimeConfig values (AdditionalPackages and BuilderImage) are
interpolated into Dockerfile templates. Add input validation to
harden these fields against malformed or unexpected values.

Add a Validate() method on RuntimeConfig that checks package names
against a strict allowlist regex and validates builder images using
go-containerregistry's ParseReference. Call Validate() at all entry
points: CLI flags, API requests, config file loading, and the
runtime config loader in the runner package.

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

30 of 69 new or added lines in 4 files covered. (43.48%)

316 existing lines in 4 files now uncovered.

49474 of 77015 relevant lines covered (64.24%)

151.4 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
86.49
-13.51% pkg/container/templates/runtime_config.go
6
72.81
-2.07% pkg/config/config.go
10
22.33
-6.6% pkg/runner/protocol.go
18
21.79
-4.68% cmd/thv/app/run_flags.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
82.83
-0.26% pkg/vmcp/composer/workflow_engine.go
62
73.33
-18.71% pkg/vmcp/conversion/content.go
114
22.33
-6.6% pkg/runner/protocol.go
138
21.79
-4.68% cmd/thv/app/run_flags.go
Jobs
ID Job ID Ran Files Coverage
1 23250766151.1 18 Mar 2026 02:54PM UTC 565
64.24
GitHub Action Run
Source Files on build 23250766151
  • Tree
  • List 565
  • Changed 10
  • Source Changed 6
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23250766151
  • 44c911e2 on github
  • Prev Build on main (#23248391697)
  • Next Build on main (#23253978359)
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