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

stacklok / toolhive / 21705504413
61%

Build:
DEFAULT BRANCH: main
Ran 05 Feb 2026 09:17AM UTC
Jobs 1
Files 492
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

05 Feb 2026 09:09AM UTC coverage: 60.789% (-0.07%) from 60.854%
21705504413

push

github

web-flow
Align authserver DCR client scopes with discovery scopes_supported (#3610)

DCR was assigning hardcoded DefaultScopes ["openid", "profile", "email"]
to registered clients, while the discovery document advertised whatever
was configured in oidcConfig.inline.scopes. When those differed, clients
would read scopes_supported from discovery, request those scopes, and
get rejected by fosite because the client wasn't allowed them.

For example, with this MCPServer config:

```
    oidcConfig:
      inline:
        scopes: [user:email, read:user, repo]
```

the discovery document would advertise scopes_supported: ["user:email",
"read:user", "repo"], but a DCR client would only be allowed ["openid",
"profile", "email"]. Requesting "user:email" would fail with
invalid_scope.

The fix: DCR now reads h.config.ScopesSupported so clients are allowed
to request exactly the scopes the server advertises. The config default
for ScopesSupported references registration.DefaultScopes directly,
giving a single source of truth instead of two arrays to keep in sync.

5 of 5 new or added lines in 2 files covered. (100.0%)

44 existing lines in 6 files now uncovered.

40822 of 67154 relevant lines covered (60.79%)

79.44 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
82.83
-0.26% pkg/vmcp/composer/workflow_engine.go
3
79.58
-0.8% pkg/transport/proxy/httpsse/http_proxy.go
6
75.47
-5.66% pkg/secrets/keyring/keyctl_linux.go
8
25.0
-4.44% pkg/client/manager.go
11
68.42
-14.47% pkg/client/discovery.go
14
70.92
-7.14% pkg/client/config.go
Jobs
ID Job ID Ran Files Coverage
1 21705504413.1 05 Feb 2026 09:17AM UTC 492
60.79
GitHub Action Run
Source Files on build 21705504413
  • Tree
  • List 492
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21705504413
  • a55b068e on github
  • Prev Build on main (#21705484768)
  • Next Build on main (#21706784602)
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