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

stacklok / toolhive / 18197180827 / 1
50%
main: 50%

Build:
DEFAULT BRANCH: main
Ran 02 Oct 2025 03:12PM UTC
Files 276
Run time 12s
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

02 Oct 2025 03:08PM UTC coverage: 45.599% (+0.08%) from 45.521%
18197180827.1

push

github

web-flow
Fix authz behavior on `tools/list` (#2061)

This is a follow up of #1189 specifically targeted to SSE streams from
different request, i.e. handling of the SSE transport.

This doesn't modify or add any code under `pkg/authz`, but does add a
test pinning the current behavior.

In order to write the test more easily, I added clients to
`pkg/testkit` so that when a specific test server is initialized, a
pre-configured client exposing `ToolsList()` and `ToolsCall()`
routines is returned along.

The returned client masks any transport specific behavior so that
developers writing new tests don't have to bother anymore handling SSE
streams, goroutines, or channel closure anymore.

Fixes #1188

16553 of 36301 relevant lines covered (45.6%)

15.49 hits per line

Source Files on job 18197180827.1
  • Tree
  • List 276
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18197180827
  • a517677b on github
  • Prev Job for on main (#18191153534.1)
  • Next Job for on main (#18217162937.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