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

stacklok / toolhive / 24150058251 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 08 Apr 2026 05:53PM UTC
Files 610
Run time 20s
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.1

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

Source Files on job 24150058251.1
  • Tree
  • List 610
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24150058251
  • b373dc6c on github
  • Prev Job for on main (#24149242001.1)
  • Next Job for on main (#24150259170.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