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

stacklok / toolhive / 19136383232
51%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2025 01:02PM UTC
Jobs 1
Files 351
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

06 Nov 2025 12:56PM UTC coverage: 48.417% (+0.06%) from 48.359%
19136383232

push

github

web-flow
Refactor auth resolution logic to config struct (#2478)

Move authentication resolution from CLI backend discoverer to
OutgoingAuthConfig.ResolveForBackend() method for better separation
of concerns and reusability.

The resolveAuthConfig method in cli_discoverer.go contained logic
that belongs in the config struct. This refactoring allows the auth
resolution logic to be reused by any component that needs to resolve
backend authentication, not just the CLI discoverer.

Changes:
- Add ResolveForBackend() method to OutgoingAuthConfig
- Update CLI discoverer to use new method
- Add comprehensive test coverage for auth resolution logic
- Remove duplicate resolveAuthConfig() method from cli_discoverer

Fixes #2465

15 of 16 new or added lines in 2 files covered. (93.75%)

8 existing lines in 3 files now uncovered.

22117 of 45680 relevant lines covered (48.42%)

37.12 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
89.25
14.48% pkg/vmcp/aggregator/cli_discoverer.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.25
14.48% pkg/vmcp/aggregator/cli_discoverer.go
3
46.27
-0.75% pkg/transport/stdio.go
4
65.26
10.53% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 19136383232.1 06 Nov 2025 01:02PM UTC 351
48.42
GitHub Action Run
Source Files on build 19136383232
  • Tree
  • List 351
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19136383232
  • eceb2939 on github
  • Prev Build on main (#19136370073)
  • Next Build on main (#19137479122)
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