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

stacklok / toolhive / 18561445936
59%

Build:
DEFAULT BRANCH: main
Ran 16 Oct 2025 12:40PM UTC
Jobs 1
Files 290
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

16 Oct 2025 12:35PM UTC coverage: 46.766% (+0.04%) from 46.73%
18561445936

push

github

web-flow
Refactor OIDC resolver to use generic OIDCConfigurable interface (#2228)

This change makes the OIDC resolver more flexible and reusable across
different resource types by using a generic interface instead of being
tied to MCPServer specifically.

Key changes:
- Add OIDCConfigurable interface with GetName(), GetNamespace(),
  GetOIDCConfig(), and GetPort() methods
- Refactor Resolve() method to accept OIDCConfigurable interface
  instead of MCPServer directly
- Update helper methods (resolveKubernetesConfig and
  resolveConfigMapConfig) to accept namespace string instead of
  MCPServer object
- Implement OIDCConfigurable interface for MCPServer type
- Remove duplicate MCPServer-specific resolution methods

This enables both MCPServer and future resource types (like
MCPRemoteProxy) to share the same OIDC configuration resolution
logic without code duplication. The MCPServer controller continues
to work unchanged, calling resolver.Resolve(ctx, mcpServer).

All existing tests pass without modification.

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

2 existing lines in 1 file now uncovered.

17900 of 38276 relevant lines covered (46.77%)

15.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
20.0
-80.0% cmd/thv-operator/api/v1alpha1/mcpserver_types.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
81.62
-0.56% pkg/transport/proxy/httpsse/http_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 18561445936.1 16 Oct 2025 12:40PM UTC 290
46.77
GitHub Action Run
Source Files on build 18561445936
  • Tree
  • List 290
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18561445936
  • 00912106 on github
  • Prev Build on main (#18561170407)
  • Next Build on main (#18564002743)
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