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

stacklok / toolhive / 19135064255 / 1
50%
main: 50%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2025 12:11PM UTC
Files 350
Run time 14s
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.1

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>

22082 of 45641 relevant lines covered (48.38%)

37.14 hits per line

Source Files on job 19135064255.1
  • Tree
  • List 350
  • Changed 9
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19135064255
  • dc11d309 on github
  • Prev Job for on main (#19132778810.1)
  • Next Job for on main (#19135741208.1)
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