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

stacklok / toolhive / 21592240686
61%

Build:
DEFAULT BRANCH: main
Ran 02 Feb 2026 01:44PM UTC
Jobs 1
Files 488
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

02 Feb 2026 01:36PM UTC coverage: 60.547% (+0.07%) from 60.48%
21592240686

push

github

web-flow
Add OAuth authorization server integration tests (#3531)

* Add OAuth authorization server integration tests

Add integration test for the full OAuth 2.0 Authorization Code flow with
PKCE using mockoidc as the upstream IDP.

TestIntegration_FullPKCEFlow validates the complete OAuth flow including
authorization through the upstream IDP, client state preservation, token
exchange with PKCE verification, and refresh token issuance via the
offline_access scope. The test also verifies RFC 8707 resource parameter
handling for audience binding and comprehensive JWT claims (iss, sub, aud,
iat, exp, scp).

* Fix double close of response body in parseTokenResponse

Remove defer resp.Body.Close() from parseTokenResponse since the caller
(exchangeCodeForTokens) is responsible for closing the body. Following
Go's convention that the caller of the function returning an *http.Response
owns the resource and handles cleanup.

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

* Add type assertion validation for scope claim elements

Check that each element in the scp claim array is a string, consistent
with how the outer array type assertion is validated. Provides a clear
test failure message instead of a panic if the token structure is
unexpected.

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

* Return compose.Compose directly in createProvider

Remove intermediate variable assignment and return the result directly,
following idiomatic Go style.

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

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

39763 of 65673 relevant lines covered (60.55%)

76.41 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
54.0
-2.0% pkg/networking/port.go
Jobs
ID Job ID Ran Files Coverage
1 21592240686.1 02 Feb 2026 01:44PM UTC 488
60.55
GitHub Action Run
Source Files on build 21592240686
  • Tree
  • List 488
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21592240686
  • a96e9ef9 on github
  • Prev Build on main (#21591991513)
  • Next Build on main (#21593192218)
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