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

stacklok / toolhive / 21473889886
61%

Build:
DEFAULT BRANCH: main
Ran 29 Jan 2026 10:12AM UTC
Jobs 1
Files 481
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

29 Jan 2026 10:04AM UTC coverage: 60.442% (+0.03%) from 60.414%
21473889886

push

github

web-flow
Add headerForward to workloads REST API (#3495)

Enable API clients to configure headers that are injected into requests
to remote MCP servers. This mirrors the functionality available via CLI
flags (--remote-forward-headers) and Kubernetes CRDs.

API structure:
  header_forward:
    add_plaintext_headers:     # Static headers (non-sensitive)
      X-Tenant-ID: "tenant-123"
    add_headers_from_secret:   # Headers from secrets manager
      X-API-Key: "api-key-secret"

Also simplify workloads_types_test.go:
- Convert TestValidateHeaderForwardConfig to table-driven
- Convert TestCreateRequestToRemoteAuthConfig to table-driven
- Merge HeaderForward tests into TestRunConfigToCreateRequest
- Remove redundant tests covering same code paths

Relates: #3316

38 of 48 new or added lines in 2 files covered. (79.17%)

39093 of 64679 relevant lines covered (60.44%)

76.47 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
98.53
-1.47% pkg/api/v1/workload_types.go
8
73.95
-2.15% pkg/api/v1/workload_service.go
Jobs
ID Job ID Ran Files Coverage
1 21473889886.1 29 Jan 2026 10:12AM UTC 481
60.44
GitHub Action Run
Source Files on build 21473889886
  • Tree
  • List 481
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21473889886
  • 2ae9e80f on github
  • Prev Build on main (#21471208199)
  • Next Build on main (#21476627620)
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