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

stacklok / toolhive / 25150085827
65%

Build:
DEFAULT BRANCH: main
Ran 30 Apr 2026 06:08AM UTC
Jobs 1
Files 708
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

30 Apr 2026 06:03AM UTC coverage: 64.265% (+0.03%) from 64.234%
25150085827

push

github

web-flow
test(e2e): add all-client LLM gateway e2e matrix + fix secret provider bugs (#5116)

* test(e2e): add all-client LLM gateway e2e matrix + fix secret provider bugs

Fixes two bugs discovered while building the new test suite:

1. Add "secret" to informationalCommands so thv secret provider environment
   does not require a container runtime to be available.

2. Fix GetSystemSecretsProvider to call GetProviderType() before checking
   SetupCompleted, so the TOOLHIVE_SECRETS_PROVIDER env var is respected
   when interactive secrets setup has not been completed.

Adds test/e2e/cli_llm_all_clients_test.go with 16 e2e tests (label: llm &&
clients) covering all 6 supported LLM gateway clients, proxy DNS-rebinding
protection, port conflict handling, and 4 edge cases. Tests use an in-process
mock OIDC server and fake browser stubs — no Docker or real credentials needed.

Adds test/llm-mock-env/ for manual end-to-end testing with a local mock OIDC
+ LLM gateway.

Closes #5115

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

* fixes from review

* fixes from review

---------

Co-authored-by: taskbot <taskbot@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

13 of 23 new or added lines in 3 files covered. (56.52%)

113 existing lines in 10 files now uncovered.

61053 of 95002 relevant lines covered (64.26%)

59.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
81.08
-1.6% pkg/auth/tokensource/tokensource.go
3
0.0
0.0% cmd/thv/app/commands.go
2
58.97
9.85% pkg/auth/secrets/secrets.go

Coverage Regressions

Lines Coverage ∆ File
20
88.68
0.09% pkg/authserver/runner/embeddedauthserver.go
19
92.39
-0.45% pkg/authserver/upstream/oauth2.go
15
90.2
-9.8% pkg/oauthproto/discovery.go
12
75.09
-4.33% pkg/client/config.go
12
67.9
-14.81% pkg/client/discovery.go
10
97.79
0.1% pkg/authz/authorizers/cedar/core.go
8
95.94
0.85% pkg/authserver/config.go
8
23.56
-4.6% pkg/client/manager.go
7
78.35
-1.8% pkg/transport/proxy/httpsse/http_proxy.go
2
98.85
0.02% pkg/authz/authorizers/cedar/entity.go
Jobs
ID Job ID Ran Files Coverage
1 25150085827.1 30 Apr 2026 06:08AM UTC 708
64.26
GitHub Action Run
Source Files on build 25150085827
  • Tree
  • List 708
  • Changed 18
  • Source Changed 10
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25150085827
  • 60636a01 on github
  • Prev Build on main (#25121976852)
  • Next Build on main (#25154213341)
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