+3
−3
+1
−1
+2
−1
lib/labkit/rate_limit/metrics.rb
0 → 100644
+43
−0
Loading
Resolves a conflict in evaluator_spec.rb where master added three
describe blocks (metrics emission, Stage 1c remaining/reset_at,
Scenario Q no per-request logging) at the end of the file alongside
the regex-matcher scenarios from this branch. Both stay; master's
blocks first, regex blocks after.
Adapts the regex blocks to master's pooled-Redis fixture
(`pipe.incr` + `raw_redis.expire` via `raw_redis.pipelined`); the
default before-block stub returns `[1, 55]`, and the regex tests
assert against `pipe`/`raw_redis` to match.
Co-Authored-By:
Claude Opus 4.7 (1M context) <noreply@anthropic.com>