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

stacklok / toolhive / 21396017644
60%

Build:
DEFAULT BRANCH: main
Ran 27 Jan 2026 11:56AM UTC
Jobs 1
Files 475
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

27 Jan 2026 11:49AM UTC coverage: 60.135% (-0.04%) from 60.175%
21396017644

push

github

web-flow
Add CLI flags for header forward configuration (#3452)

Add --remote-forward-headers and --remote-forward-headers-secret flags
to both thv proxy and thv run commands for configuring header injection
to remote MCP servers.

Changes:
- header_flags.go: Shared parsing logic for header flags and secrets
- proxy.go: Add flags and wire middleware into proxy command
- run_flags.go: Add flags to RunFlags struct and builder options
- header_forward.go: Add HeaderForwardMiddlewareName constant

The --remote-forward-headers-secret option resolves values from the
ToolHive secrets manager, keeping sensitive data out of process listings
and RunConfig persistence.

Related: #3316

63 of 160 new or added lines in 3 files covered. (39.38%)

10 existing lines in 5 files now uncovered.

38326 of 63733 relevant lines covered (60.14%)

77.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
16
25.32
0.2% cmd/thv/app/run_flags.go
31
61.25
cmd/thv/app/header_flags.go
50
9.74
1.19% cmd/thv/app/proxy.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
9.74
1.19% cmd/thv/app/proxy.go
2
80.81
-0.54% pkg/transport/proxy/httpsse/http_proxy.go
2
57.89
-3.51% pkg/transport/session/sse_session.go
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
3
71.85
-1.11% pkg/ignore/processor.go
Jobs
ID Job ID Ran Files Coverage
1 21396017644.1 27 Jan 2026 11:56AM UTC 475
60.14
GitHub Action Run
Source Files on build 21396017644
  • Tree
  • List 475
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21396017644
  • e6d3bded on github
  • Prev Build on main (#21395997626)
  • Next Build on main (#21403491932)
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