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

stacklok / toolhive / 23049038948
64%

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

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>

9 of 12 new or added lines in 1 file covered. (75.0%)

34 existing lines in 2 files now uncovered.

48691 of 76503 relevant lines covered (63.65%)

164.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
65.33
-5.82% pkg/authz/response_filter.go

Uncovered Existing Lines

Lines Coverage ∆ File
6
76.15
-5.5% pkg/secrets/keyring/keyctl_linux.go
28
65.33
-5.82% pkg/authz/response_filter.go
Jobs
ID Job ID Ran Files Coverage
1 23049038948.1 13 Mar 2026 11:39AM UTC 554
63.65
GitHub Action Run
Source Files on build 23049038948
  • Tree
  • List 554
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23049038948
  • 31efa940 on github
  • Prev Build on main (#23045791028)
  • Next Build on main (#23049599292)
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