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

stacklok / toolhive / 24727943685
66%

Build:
DEFAULT BRANCH: main
Ran 21 Apr 2026 02:31PM UTC
Jobs 1
Files 653
Run time 2min
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

21 Apr 2026 02:25PM UTC coverage: 66.455% (-0.02%) from 66.476%
24727943685

push

github

web-flow
Default redirectUri on upstream providers as documented in CRD (#4905)

* Default redirectUri on upstream providers to {resourceUrl}/oauth/callback

The MCPExternalAuthConfig CRD documents that redirectUri defaults to
{resourceUrl}/oauth/callback when not specified, but the operator was
passing the empty string through to the proxy runner, which then
rejected it with "redirect_uri is required".

Pass resourceURL through BuildAuthServerRunConfig to buildUpstreamRunConfig
so empty RedirectURI fields on both OIDC and OAuth2 upstream providers are
resolved to the documented default before generating the runconfig. This
applies to both MCPServer and VirtualMCPServer code paths.

Fixes #4874

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add unit test for deriveResourceURL in converter_test.go

Address code review feedback: add TestDeriveResourceURL table-driven
test matching the convention established by TestDeriveAllowedAudiences
and TestDeriveScopesSupported. Covers nil IncomingAuth, nil OIDC,
empty Resource, and populated Resource cases.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

22 of 22 new or added lines in 2 files covered. (100.0%)

41 existing lines in 5 files now uncovered.

58429 of 87923 relevant lines covered (66.45%)

63.19 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
74.44
-5.19% pkg/client/config.go
11
69.23
-14.1% pkg/client/discovery.go
8
20.11
-2.87% pkg/client/manager.go
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
2
51.22
-0.19% pkg/workloads/manager.go
Jobs
ID Job ID Ran Files Coverage
1 24727943685.1 21 Apr 2026 02:31PM UTC 653
66.45
GitHub Action Run
Source Files on build 24727943685
  • Tree
  • List 653
  • Changed 11
  • Source Changed 2
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24727943685
  • 117be040 on github
  • Prev Build on main (#24725780665)
  • Next Build on main (#24729431797)
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