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

stacklok / toolhive / 34274954433
71%

Build:
DEFAULT BRANCH: main
Ran 08 Sep 2026 08:46PM UTC
Jobs 1
Files 913
Run time 3min
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

08 Sep 2026 08:27PM UTC coverage: 70.269% (-0.03%) from 70.298%
34274954433

push

github

web-flow
Support OIDC dynamic client registration (#6544)

* Support OIDC dynamic client registration

OIDC-typed upstreams could not use Dynamic Client Registration, even
when their discovery metadata exposed a registration endpoint. This
forced operators to use the more verbose OAuth2 form and prevented
issuer-based OIDC configurations from working with providers such as
connector-gateway.

Add DCR configuration and validation to OIDC runtime and CRD types,
derive the standard discovery URL from the issuer when needed, and
route both OAuth2 and OIDC upstreams through the shared DCR resolver.
Propagate registered credentials into the OIDC provider, update
secret bindings and generated manifests, and cover the adapter
behavior with tests.

Fixes #6538

* Fix CI: reduce complexity, wrap long lines, regen swagger

buildUpstreamConfigs exceeded the cyclomatic complexity limit (19 > 15);
split its per-upstream loop body into buildOneUpstreamConfig,
validateUpstreamRunConfig, resolveUpstreamDCR, and
applyDCRResolutionToConfig. Also wrap two lines that exceeded the
line-length limit, and regenerate docs/server/swagger.* to include the
new dcr_config field on OIDCUpstreamConfig.

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

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

109 of 194 new or added lines in 6 files covered. (56.19%)

10 existing lines in 4 files now uncovered.

79651 of 113351 relevant lines covered (70.27%)

92.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
26
84.02
-2.95% pkg/authserver/runner/embeddedauthserver.go
22
80.79
-3.79% cmd/thv-operator/api/v1beta1/mcpexternalauthconfig_types.go
18
91.33
-3.37% pkg/authserver/config.go
8
90.94
-0.78% cmd/thv-operator/pkg/controllerutil/authserver.go
7
89.89
-6.48% pkg/authserver/runner/dcr_adapter.go
4
44.35
-0.05% cmd/thv-operator/api/v1beta1/zz_generated.deepcopy.go

Coverage Regressions

Lines Coverage ∆ File
6
72.34
-6.38% pkg/secrets/keyring/keyctl_linux.go
2
50.66
-0.53% pkg/transport/stdio.go
1
84.02
-2.95% pkg/authserver/runner/embeddedauthserver.go
1
96.77
-3.23% pkg/foreach/foreach.go
Jobs
ID Job ID Ran Files Coverage
1 34274954433.1 08 Sep 2026 08:46PM UTC 913
70.27
GitHub Action Run
Source Files on build 34274954433
  • Tree
  • List 913
  • Changed 14
  • Source Changed 7
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34274954433
  • f8c54a9a on github
  • Prev Build on main (#34269445151)
  • Next Build on main (#34280349704)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc