You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✅ Add NewRateLimiter tests, exclude main.go from coverage
Cover the constructor's three paths: successful connection (smoke
check against miniredis), malformed URL (parse error), and unreachable
Redis (startup PING failure must still return a usable, fail-open
limiter).
Also exclude main.go from Sonarcloud coverage — it only wires
components together and is exercised end-to-end rather than by unit
tests.
Co-Authored-By: Claude <claude@anthropic.com>
0 commit comments