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

stacklok / toolhive / 24163599188
65%

Build:
DEFAULT BRANCH: main
Ran 08 Apr 2026 11:21PM UTC
Jobs 1
Files 609
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

08 Apr 2026 11:15PM UTC coverage: 64.942% (-0.02%) from 64.964%
24163599188

push

github

web-flow
Log when authorization policies filter list responses (#4690)

* Log when authorization policies filter list responses

When Cedar policies deny access to tools, prompts, or resources during
list filtering, items are silently removed from the response. This makes
it difficult to diagnose authorization issues since the MCP client shows
empty capabilities with no explanation.

Add DEBUG-level logs for each denied item and an INFO-level summary
after filtering completes so operators can see that items were filtered
and enable DEBUG to see which ones.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add rate-limited claim key logging and use DEBUG for authz diagnostics

Add a generic AtMost utility (pkg/syncutil) that executes a function at
most once per configurable interval, safe for concurrent use. Use it in
the Cedar authorizer to emit a rate-limited DEBUG log of resolved JWT
claim keys, helping operators see what claims are available for writing
Cedar policies without enabling verbose per-request logging.

Downgrade the authorization filtering summary logs from INFO to DEBUG to
follow the "silent success" convention — a policy correctly denying
access is working as intended, not something that warrants INFO output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add AtMost to codespell ignore list

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

50 of 50 new or added lines in 4 files covered. (100.0%)

38 existing lines in 5 files now uncovered.

55062 of 84787 relevant lines covered (64.94%)

63.44 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
74.44
-5.19% pkg/client/config.go
11
68.42
-14.47% pkg/client/discovery.go
8
23.56
-4.6% pkg/client/manager.go
3
79.38
-0.77% pkg/transport/proxy/httpsse/http_proxy.go
2
82.81
-0.21% pkg/vmcp/composer/workflow_engine.go
Jobs
ID Job ID Ran Files Coverage
1 24163599188.1 08 Apr 2026 11:21PM UTC 609
64.94
GitHub Action Run
Source Files on build 24163599188
  • Tree
  • List 609
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24163599188
  • c2276296 on github
  • Prev Build on main (#24163034031)
  • Next Build on main (#24163607492)
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