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

stacklok / toolhive / 39942369741
73%

Build:
DEFAULT BRANCH: main
Ran 23 Oct 2026 11:03AM UTC
Jobs 1
Files 976
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

23 Oct 2026 10:54AM UTC coverage: 71.717% (+0.007%) from 71.71%
39942369741

push

github

web-flow
Decouple authserver identity from host auth types (#6923)

The embedded authorization server's callback and upstream filter took
ToolHive's host authentication types (auth.PrincipalInfo, the host
context helpers, and the host claims package). That ties the server to
the host's webhook and audit model and blocks moving it into a package
of its own.

Add a FilterPrincipal getter interface for the upstream filter, backed
by a private projection of the callback principal that carries no
credentials. Move the canonical-user context key into
pkg/authserver/identity. The host package keeps its existing names as
aliases and wrappers, including the fallback to the authenticated
request. Move strict string-array claim decoding into
pkg/oauthproto/claims and leave the old pkg/auth/claims function as a
wrapper around it.

Behavior is unchanged. Mapped upstream subjects stay distinct from
canonical storage users, malformed group claims still fail closed, and
bearer authentication and audit identity are untouched.

External UpstreamFilter implementations must move from reading
auth.PrincipalInfo fields to the FilterPrincipal getters.

Co-authored-by: Mecatl <noreply@mecatl.dev>

51 of 51 new or added lines in 7 files covered. (100.0%)

6 existing lines in 1 file now uncovered.

89326 of 124553 relevant lines covered (71.72%)

127.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
72.34
-6.38% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 39942369741.1 23 Oct 2026 11:03AM UTC 976
71.72
GitHub Action Run
Source Files on build 39942369741
  • Tree
  • List 976
  • Changed 9
  • Source Changed 6
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39942369741
  • 21e1bd88 on github
  • Prev Build on main (#39881295177)
  • Next Build on main (#39957309715)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc