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

stacklok / toolhive / 24150058251
65%

Build:
DEFAULT BRANCH: main
Ran 08 Apr 2026 05:53PM UTC
Jobs 1
Files 610
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 05:48PM UTC coverage: 65.107% (+0.03%) from 65.08%
24150058251

push

github

web-flow
Update Redis ACL examples for auth server (#4675)

The Redis ACL examples in the repo were missing commands that the auth server actually uses, which would cause runtime permission errors for upstream token storage and user creation flows. This audits `pkg/authserver/storage/redis.go` against the documented ACL entries and adds the missing commands.

## Changes

| File | What changed |
|------|-------------|
| `examples/operator/redis-storage/sentinel-service.yaml` | Added `+PEXPIRE +PTTL +MGET` to the example ACL entry |
| `docs/redis-storage.md` | Added `+SETNX +PEXPIRE +PTTL +MGET +EVALSHA` to the ACL example and updated the security note prose to list all required commands |

## Missing commands and why they're needed

| Command | Used by |
|---------|---------|
| `SETNX` | `CreateUser`, `CreateProviderIdentity` — atomic check-and-set for uniqueness |
| `PEXPIRE` | `storeUpstreamTokensScript` Lua script — millisecond-precision TTL on index sets |
| `PTTL` | `storeUpstreamTokensScript` Lua script — checks remaining TTL before extending |
| `MGET` | `GetAllUpstreamTokens` — batch fetch of all provider tokens for a session |
| `EVALSHA` | All Lua scripts after first execution — Redis caches the script and runs by SHA |

54997 of 84472 relevant lines covered (65.11%)

62.63 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
22.99
-0.57% pkg/client/manager.go
3
71.85
-1.11% pkg/ignore/processor.go
3
70.0
-3.33% pkg/state/local.go
2
61.97
-1.41% pkg/networking/port.go
Jobs
ID Job ID Ran Files Coverage
1 24150058251.1 08 Apr 2026 05:53PM UTC 610
65.11
GitHub Action Run
Source Files on build 24150058251
  • Tree
  • List 610
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24150058251
  • b373dc6c on github
  • Prev Build on main (#24149242001)
  • Next Build on main (#24150259170)
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