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

stacklok / toolhive / 21718537982
61%

Build:
DEFAULT BRANCH: main
Ran 05 Feb 2026 04:05PM UTC
Jobs 1
Files 495
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

05 Feb 2026 03:57PM UTC coverage: 60.926% (+0.1%) from 60.828%
21718537982

push

github

web-flow
Upstream Token Swap Middleware (#3606)

Adds a new middleware component that enables MCP servers to receive upstream IdP tokens when using ToolHive's embedded auth server.

When clients authenticate with ToolHive's embedded auth server, the system now automatically exchanges ToolHive-issued JWTs for the original upstream IdP tokens (from GitHub, Google, etc.) before forwarding requests to MCP servers.

147 of 154 new or added lines in 5 files covered. (95.45%)

10 existing lines in 3 files now uncovered.

41122 of 67495 relevant lines covered (60.93%)

78.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
97.09
pkg/auth/upstreamswap/middleware.go
4
76.34
1.66% pkg/runner/middleware.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
79.58
-0.53% pkg/transport/proxy/httpsse/http_proxy.go
2
57.89
-3.51% pkg/transport/session/sse_session.go
6
75.47
-5.66% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 21718537982.1 05 Feb 2026 04:05PM UTC 495
60.93
GitHub Action Run
Source Files on build 21718537982
  • Tree
  • List 495
  • Changed 13
  • Source Changed 7
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21718537982
  • 42bc940c on github
  • Prev Build on main (#21715135347)
  • Next Build on main (#21719955472)
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