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

stacklok / toolhive / 24805002006
67%

Build:
DEFAULT BRANCH: main
Ran 22 Apr 2026 10:08PM UTC
Jobs 1
Files 657
Run time 2min
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

22 Apr 2026 10:02PM UTC coverage: 66.324% (+0.05%) from 66.279%
24805002006

push

github

web-flow
Add shared OAuth constants and expose ExchangeConfig fields (#5003)

Add token-type URNs (access_token, id_token, jwt) and the
token-exchange grant-type URN to pkg/oauth, and replace private
constants in pkg/auth/tokenexchange with references to the shared
pkg/oauth definitions.

Expose RequestedTokenType and Resource fields on tokenexchange
ExchangeConfig so callers can request non-default token types
(RFC 8693) and specify an RFC 8707 resource indicator. Additional
URN constants (JWT-Bearer grant, ID-JAG token type) will be added
by the PRs that introduce their first consumers.

Enforce RFC 8707 Section 2 constraints on Resource in
ExchangeConfig.Validate(): reject non-absolute URIs and URIs with
a fragment component. The godoc already stated the contract; this
makes Validate() fail loudly at config time rather than forwarding
a bad resource indicator to the STS.

Regenerate docs/server/ to pick up the updated SubjectTokenType
godoc wording in tokenexchange.Config.

32 of 34 new or added lines in 2 files covered. (94.12%)

8 existing lines in 2 files now uncovered.

58778 of 88622 relevant lines covered (66.32%)

62.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
81.23
1.15% pkg/auth/tokenexchange/exchange.go

Coverage Regressions

Lines Coverage ∆ File
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
2
82.29
-0.21% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 24805002006.1 22 Apr 2026 10:08PM UTC 657
66.32
GitHub Action Run
Source Files on build 24805002006
  • Tree
  • List 657
  • Changed 12
  • Source Changed 3
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24805002006
  • bc5b9a35 on github
  • Prev Build on main (#24804357731)
  • Next Build on main (#24821430555)
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