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

stacklok / toolhive / 19135064255
51%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2025 12:11PM UTC
Jobs 1
Files 350
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:05PM UTC coverage: 48.382% (-0.03%) from 48.415%
19135064255

push

github

web-flow
Add constants for auth strategy types (#2477)

* Add constants for auth strategy types

Replace magic strings with constants in vMCP auth system
to improve type safety and prevent typos. This makes the
code more maintainable and refactoring easier.

Strategy type constants (StrategyTypeHeaderInjection,
StrategyTypeUnauthenticated) and metadata key constants
(MetadataHeaderName, MetadataHeaderValue) are now defined
in pkg/vmcp/auth/strategies/constants.go.

Fixes #2466

* Replace remaining magic strings with constants in auth system

Address review feedback by replacing magic strings in:
- pkg/vmcp/auth/factory/outgoing.go: Use strategy type constants
- pkg/vmcp/config/validator.go: Use strategy type and metadata constants

Co-authored-by: Juan Antonio Osorio <JAORMX@users.noreply.github.com>

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Juan Antonio Osorio <JAORMX@users.noreply.github.com>

15 of 20 new or added lines in 5 files covered. (75.0%)

24 existing lines in 6 files now uncovered.

22082 of 45641 relevant lines covered (48.38%)

37.14 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
57.38
0.0% pkg/vmcp/config/validator.go
3
52.52
0.0% pkg/vmcp/config/yaml_loader.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
52.52
0.0% pkg/vmcp/config/yaml_loader.go
2
82.83
0.0% pkg/transport/proxy/httpsse/http_proxy.go
2
57.38
0.0% pkg/vmcp/config/validator.go
2
56.0
-0.24% pkg/workloads/manager.go
3
96.5
-2.1% cmd/thv-operator/pkg/sources/git.go
14
54.74
-10.53% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 19135064255.1 06 Nov 2025 12:11PM UTC 350
48.38
GitHub Action Run
Source Files on build 19135064255
  • Tree
  • List 350
  • Changed 9
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19135064255
  • dc11d309 on github
  • Prev Build on main (#19132778810)
  • Next Build on main (#19135741208)
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