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

stacklok / toolhive / 24803393891
67%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2026 09:28PM UTC
Jobs 1
Files 657
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

22 Apr 2026 09:23PM UTC coverage: 66.243% (-0.009%) from 66.252%
24803393891

push

github

web-flow
Honor --debug flag in vmcp (#5008)

vmcp's main.go called viper.GetBool("debug") before cobra parsed CLI
flags, so the --debug flag was effectively a no-op — the logger was
always initialized at INFO regardless of the flag. This also meant
slog.Debug calls in dependent packages (e.g. Cedar's
"Resolved JWT claim keys for Cedar evaluation" log at
pkg/authz/authorizers/cedar/core.go:452) were never visible even with
--debug on the command line.

Move logger initialization into the root command's PersistentPreRunE so
it runs after cobra has parsed flags and viper has the parsed value.
Leave a minimal INFO-level default logger installed in main() so any
error emitted before cobra's Execute runs still produces structured
output. Matches the pattern already used in cmd/thv/app/commands.go.

0 of 15 new or added lines in 2 files covered. (0.0%)

14 existing lines in 3 files now uncovered.

58644 of 88529 relevant lines covered (66.24%)

63.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
0.0
0.0% cmd/vmcp/app/commands.go
5
0.0
0.0% cmd/vmcp/main.go

Coverage Regressions

Lines Coverage ∆ File
6
72.35
-1.29% pkg/runner/config.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
2
82.29
-0.21% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 24803393891.1 22 Apr 2026 09:28PM UTC 657
66.24
GitHub Action Run
Source Files on build 24803393891
  • Tree
  • List 657
  • Changed 8
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24803393891
  • 93e1478a on github
  • Prev Build on main (#24785585587)
  • Next Build on main (#24804357731)
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