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

stacklok / toolhive / 19338685502
51%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2025 04:40PM UTC
Jobs 1
Files 369
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

13 Nov 2025 04:35PM UTC coverage: 47.99% (-0.01%) from 48.003%
19338685502

push

github

web-flow
Inject env.Reader for testable token exchange auth (#2571)

Refactors environment variable access in token exchange
authentication to use dependency-injected env.Reader
interface instead of direct os.Getenv calls.

Changes:
- TokenExchangeStrategy accepts env.Reader in constructor
- Factory passes env.Reader when creating strategies
- YAMLLoader uses env.Reader for environment variable access
- Commands.go creates OSReader and wires dependencies

This enables proper testing with mocked environment variables
using gomock instead of t.Setenv, allowing parallel test
execution. No functional changes - client_secret_env support
was already present.

20 of 29 new or added lines in 4 files covered. (68.97%)

9 existing lines in 3 files now uncovered.

23113 of 48162 relevant lines covered (47.99%)

36.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.89
0.0% pkg/vmcp/auth/factory/outgoing.go
2
51.79
0.43% pkg/vmcp/config/yaml_loader.go
6
0.0
0.0% cmd/vmcp/app/commands.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
82.83
0.0% pkg/transport/proxy/httpsse/http_proxy.go
3
72.39
-1.12% pkg/ignore/processor.go
4
56.0
-0.48% pkg/workloads/manager.go
Jobs
ID Job ID Ran Files Coverage
1 19338685502.1 13 Nov 2025 04:40PM UTC 369
47.99
GitHub Action Run
Source Files on build 19338685502
  • Tree
  • List 369
  • Changed 7
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19338685502
  • ef56adf7 on github
  • Prev Build on main (#19337741070)
  • Next Build on main (#19338819441)
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

© 2025 Coveralls, Inc