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

stacklok / toolhive / 18197180827
51%

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

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

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

151 of 216 new or added lines in 3 files covered. (69.91%)

23 existing lines in 2 files now uncovered.

16553 of 36301 relevant lines covered (45.6%)

15.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
31
65.61
4.27% pkg/testkit/streamable_server.go
34
65.32
1.38% pkg/testkit/sse_server.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
65.98
0.81% pkg/testkit/testkit.go
21
48.94
-22.34% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 18197180827.1 02 Oct 2025 03:12PM UTC 276
45.6
GitHub Action Run
Source Files on build 18197180827
  • Tree
  • List 276
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18197180827
  • a517677b on github
  • Prev Build on main (#18191153534)
  • Next Build on main (#18217162937)
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