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

yylego / kratos-rate-limit / 43609843291
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.3
DEFAULT BRANCH: main
Ran 14 Nov 2026 03:22PM UTC
Jobs 3
Files 1
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

14 Nov 2026 03:19PM UTC coverage: 100.0% (+100.0%) from 0.0%
43609843291

push

github

yyle88
Give clients the wait time on 429 and pass the limit as a value

- Drop the debug switch and the span hooks; slog levels decide what gets logged
- On 429, send the seconds to wait in the standard RFC 9110 response field
- Take redis_rate.Limit as a value; rename the redisCache field to redisRate
- Note in the docs that counts go with keys alone, so each limit needs its own prefix
- Redis failures now give 503 with reason RATE_LIMIT_UNAVAILABLE, logged at warn
- Add tests on miniredis; raise Go to 1.26 and update dependencies

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

19 of 19 new or added lines in 1 file covered. (100.0%)

49 of 49 relevant lines covered (100.0%)

16.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-stable - 43609843291.1 14 Nov 2026 03:23PM UTC 1
100.0
GitHub Action Run
2 Go-1.27.x - 43609843291.2 14 Nov 2026 03:23PM UTC 1
100.0
GitHub Action Run
3 Go-1.26.x - 43609843291.3 14 Nov 2026 03:22PM UTC 1
100.0
GitHub Action Run
Source Files on build 43609843291
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4ca6ef0a on github
  • Prev Build on main (#28314158750)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc