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

stacklok / toolhive / 19707385407
51%

Build:
DEFAULT BRANCH: main
Ran 26 Nov 2025 02:39PM UTC
Jobs 1
Files 385
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

26 Nov 2025 02:37PM UTC coverage: 49.492% (+0.1%) from 49.385%
19707385407

push

github

web-flow
Add header injection authentication support (#2730)

* Add header injection authentication support

Implement header injection authentication type for MCPExternalAuthConfig,
enabling backend MCP servers to receive custom authentication headers.

Changes:
- Add HeaderInjectionConfig to CRD with headerName and value/valueSecretRef
- Implement converter registry pattern for extensible auth type handling
- Create HeaderInjectionConverter for header_injection strategy
- Refactor TokenExchangeConverter to use new registry pattern
- Update RBAC rules to grant vMCP access to mcpexternalauthconfigs
- Add controllerutil support for header injection validation
- Bump operator CRD chart version to 0.0.63
- Include example YAML demonstrating header injection usage

Header injection allows backends to authenticate using custom HTTP headers
(e.g., X-API-Key) with values from either direct configuration or K8s secrets.

The converter registry provides a clean abstraction for adding new auth types
without modifying core authentication logic, following the Open/Closed Principle.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fixes from review

---------

Co-authored-by: taskbot <taskbot@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>

177 of 213 new or added lines in 8 files covered. (83.1%)

6 existing lines in 2 files now uncovered.

25204 of 50925 relevant lines covered (49.49%)

58.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% test/integration/vmcp/helpers/vmcp_server.go
2
0.0
0.0% cmd/vmcp/app/commands.go
14
0.0
0.0% cmd/thv-operator/pkg/controllerutil/tokenexchange.go
19
0.0
0.0% cmd/thv-operator/api/v1alpha1/zz_generated.deepcopy.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
94.67
-1.33% pkg/vmcp/composer/dag_executor.go
4
73.91
-14.98% pkg/vmcp/auth/factory/outgoing.go
Jobs
ID Job ID Ran Files Coverage
1 19707385407.1 26 Nov 2025 02:39PM UTC 385
49.49
GitHub Action Run
Source Files on build 19707385407
  • Tree
  • List 385
  • Changed 9
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19707385407
  • 3e4fd23f on github
  • Prev Build on main (#19705303483)
  • Next Build on main (#19708602503)
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