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

stacklok / toolhive / 23049038948 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 13 Mar 2026 11:39AM UTC
Files 554
Run time 19s
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 Mar 2026 11:35AM UTC coverage: 63.646% (+0.02%) from 63.622%
23049038948.1

push

github

web-flow
Inject tool annotations into context during list filtering (#4129)

The tools/list response filter calls AuthorizeWithJWTClaims for each
tool to decide whether to include it in the filtered response. However,
it was passing the original request context which has no tool
annotations. This caused Cedar policies with `when` clauses on resource
attributes (e.g. resource.readOnlyHint) to always fail, filtering out
all tools regardless of their annotations.

The fix injects each tool's annotations into the context before the
authorization check, matching what AnnotationEnrichmentMiddleware
already does for tools/call requests.

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

48691 of 76503 relevant lines covered (63.65%)

164.25 hits per line

Source Files on job 23049038948.1
  • Tree
  • List 554
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23049038948
  • 31efa940 on github
  • Prev Job for on main (#23045791028.1)
  • Next Job for on main (#23049599292.1)
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