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

stacklok / toolhive / 31706784393
70%

Build:
DEFAULT BRANCH: main
Ran 13 Aug 2026 01:56PM UTC
Jobs 1
Files 875
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

13 Aug 2026 01:48PM UTC coverage: 70.325% (+0.06%) from 70.262%
31706784393

push

github

web-flow
Ignore unsupported grant types in CIMD documents (#6297)

* Ignore unsupported grant types in CIMD documents

A Client ID Metadata Document describes the client's capabilities
across every authorization server it talks to, and the client cannot
tailor it per server. VS Code declares the device_code grant alongside
authorization_code, and the CIMD resolver rejected the whole document
over it, surfacing as an opaque invalid_client at /oauth/authorize.

Filter unsupported grant_types and response_types out of CIMD documents
instead of rejecting them, while still rejecting documents whose
supported set does not intersect the one flow this server offers
(authorization_code / code) — such a client could never complete a
token exchange, and a clear error at resolution beats failing every
token request. The stored fosite client carries only the filtered
types, and dropped entries are logged at Debug for diagnosability.

DCR requests keep the strict validation: unlike a CIMD document, a
registration request is addressed to this server specifically, so
rejecting an unsupported grant type is correct feedback there.

Fixes #6290

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Clone filter defaults and simplify drop-log condition

Review follow-ups: the filters returned the package-level default
slices unaliased into cached fosite clients (inconsistent with the
scope path, which clones), and the drop-log condition bound a value
it only compared against zero.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

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

18 existing lines in 5 files now uncovered.

84681 of 120413 relevant lines covered (70.33%)

99.28 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
97.73
-2.27% pkg/authserver/server/registration/dcr.go
4
66.64
5.16% pkg/workloads/manager.go
3
80.56
-0.7% pkg/transport/proxy/httpsse/http_proxy.go
3
79.14
-1.07% pkg/vmcp/cli/embedding_manager.go
2
94.77
-1.31% pkg/vmcp/composer/dag_executor.go
Jobs
ID Job ID Ran Files Coverage
1 31706784393.1 13 Aug 2026 01:56PM UTC 875
70.33
GitHub Action Run
Source Files on build 31706784393
  • Tree
  • List 875
  • Changed 11
  • Source Changed 2
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31706784393
  • 247a502f on github
  • Prev Build on main (#31693123182)
  • Next Build on main (#31706922139)
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