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

stacklok / toolhive / 20965072474
58%

Build:
DEFAULT BRANCH: main
Ran 13 Jan 2026 04:54PM UTC
Jobs 1
Files 440
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

13 Jan 2026 04:50PM UTC coverage: 58.035% (+0.03%) from 58.009%
20965072474

push

github

web-flow
Add OAuth client factory with RFC 8252 loopback support to authserver (#3263)

* Add OAuth client factory with RFC 8252 loopback support to authserver

Add client factory and LoopbackClient for native OAuth clients like
VS Code and Claude Code. Currently the code is unused (but tested!),
when integrated, the authorize handler will use LoopbackClient.

LoopbackClient wraps fosite.DefaultClient to provide RFC 8252 Section
7.3 dynamic port matching for "localhost" hostname. Fosite's built-in
isMatchingAsLoopback uses net.ParseIP().IsLoopback() which only supports
IP addresses (127.0.0.1, ::1), not the "localhost" hostname.

* Clarify hostnamesMatch documentation to note pre-parsed inputs

Add explicit documentation that hostnamesMatch receives pre-parsed
hostname strings from url.Hostname(), not raw URIs. This clarifies
the function's contract and its relationship with matchesAsLoopback.

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

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Don Browne <dmjb@users.noreply.github.com>

92 of 100 new or added lines in 1 file covered. (92.0%)

37 existing lines in 5 files now uncovered.

34512 of 59468 relevant lines covered (58.03%)

80.18 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
92.0
pkg/authserver/server/registration/client.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
67.37
12.63% pkg/secrets/keyring/keyctl_linux.go
2
71.43
-1.68% pkg/vmcp/k8s/manager.go
8
25.0
-4.44% pkg/client/manager.go
11
65.0
-13.75% pkg/client/discovery.go
14
66.67
-7.91% pkg/client/config.go
Jobs
ID Job ID Ran Files Coverage
1 20965072474.1 13 Jan 2026 04:54PM UTC 440
58.03
GitHub Action Run
Source Files on build 20965072474
  • Tree
  • List 440
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20965072474
  • 92b08b7d on github
  • Prev Build on main (#20964475937)
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