Loading
chore(rate_limit): address GitLabDuo MR review comments
1. count_distinct ArgumentError now lists String alongside Symbol/nil
(the validation does accept String — coerced to Symbol).
2. SADD-mode count is now Float-typed, matching the INCR path.
Callers see a consistent Result::Info#count type regardless of mode.
3. Rename a misleadingly-named `first` variable in the
"enforces :block when the cardinality exceeds the limit" integration
test (it actually held the fourth check result).
Co-Authored-By:
Claude Opus 4.7 (1M context) <noreply@anthropic.com>