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

stacklok / toolhive / 24884944127
67%

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2026 10:36AM UTC
Jobs 1
Files 662
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

24 Apr 2026 10:30AM UTC coverage: 66.198% (+0.02%) from 66.183%
24884944127

push

github

web-flow
pkg/llm: implement OIDC token source and thv llm token command (#5033)

* pkg/llm: implement OIDC token source and thv llm token command

Adds a three-tier TokenSource (in-memory → cached refresh token →
browser OIDC+PKCE flow) for the LLM gateway. Access tokens are held
in memory only; refresh tokens are persisted via ScopeLLM secrets.
A 30 s preemptive refresh window avoids gateway rejections on expiry.

thv llm token is now fully implemented: non-interactive, prints a
fresh JWT to stdout with all other output on stderr, suitable for use
as apiKeyHelper or auth.command in Claude Code / Cursor.

Part of #5028

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

* changes from review

---------

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

143 of 253 new or added lines in 2 files covered. (56.52%)

5 existing lines in 3 files now uncovered.

59135 of 89331 relevant lines covered (66.2%)

62.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
80
64.13
pkg/llm/tokensource.go
30
0.0
0.0% cmd/thv/app/llm.go

Coverage Regressions

Lines Coverage ∆ File
2
93.94
-6.06% pkg/foreach/foreach.go
2
73.63
-0.64% pkg/runner/config.go
1
0.0
0.0% cmd/thv/app/llm.go
Jobs
ID Job ID Ran Files Coverage
1 24884944127.1 24 Apr 2026 10:36AM UTC 662
66.2
GitHub Action Run
Source Files on build 24884944127
  • Tree
  • List 662
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24884944127
  • 854e0ab7 on github
  • Prev Build on main (#24877992030)
  • Next Build on main (#24886077856)
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