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

stacklok / toolhive / 45262165136
75%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 08:53PM UTC
Jobs 1
Files 1056
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

23 Nov 2026 08:42PM UTC coverage: 73.952% (+0.04%) from 73.913%
45262165136

push

github

web-flow
Add opt-in Entra OBO e2e suite for real tenants (#7251)

* Add opt-in Entra OBO e2e suite for real tenants

OBO is covered by unit, envtest, and mock-endpoint integration tests,
but nothing exercises a real Entra tenant, so issuer versions, aud
formats, consent, and conditional-access behavior go unchecked.

Add test/e2e/thv-operator/entraobo, labeled entra-live, which skips
unless the TOOLHIVE_E2E_ENTRA_* variables are set. It covers MCPServer,
MCPRemoteProxy, vMCP inline and discovered outgoing auth, and failure
statuses, verifying each exchanged token against the tenant JWKS.
The user token comes from the Azure CLI or an env override. The
default operator e2e run now excludes the label, and the new
thv-operator-e2e-test-entra task runs only this suite.

Refs #7202

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Require invalid_client for the wrong-secret 502

A 502 alone can also come from a backend that is still starting or an
unreachable Entra, so the spec could pass without proving Entra
rejected the client. Retry until the proxyrunner log shows Entra's
invalid_client error alongside the 502.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Harden Entra OBO e2e setup and token checks

Set up the namespace and shared fixtures once in BeforeSuite, waiting
out a leftover namespace, and wait for deletion in AfterSuite so a
rerun starts clean. Keep polling through the transient Failed phase,
bound the az and OIDC discovery calls, retry transport errors in the
wrong-secret loop, and check the exchanged token's azp and which
Secret each vMCP client-secret variable reads.

Addresses stacklok/toolhive#7251 review comments:
- MEDIUM helpers_test.go:448 (4668148626): retry transport errors
- LOW helpers_test.go:229 (4668148640): await namespace teardown
- LOW helpers_test.go:333 (4668148647): Failed phase is not terminal
- LOW helpers_test.go:180 (4668148657): deadlines on az and discovery
- LOW helpers_test.go:217 (4668148667): asse... (continued)

99078 of 133976 relevant lines covered (73.95%)

874.76 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
83.93
-0.16% pkg/authserver/storage/redis.go
1
88.02
-0.12% pkg/transport/proxy/transparent/transparent_proxy.go
Jobs
ID Job ID Ran Files Coverage
1 45262165136.1 23 Nov 2026 08:53PM UTC 1056
73.95
GitHub Action Run
Source Files on build 45262165136
  • Tree
  • List 1056
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45262165136
  • 9eb14256 on github
  • Prev Build on main (#45253521197)
  • Next Build on main (#45267984000)
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