Loading…
Add API rate limiting · prompt 2 · Codex CLI · week 2026-W44
Prompt: Add rate limiting that works across serverless instances.
Grader: The agent added a shared Upstash Redis sliding-window limiter (60 req/IP/min) in src/proxy.ts with 429 and Retry-After responses, 503 fail-closed behavior on missing config or Redis errors, and passing tests, lint, and build, but could not verify live cross-instance behavior without Redis credentials and hit a pnpm frozen-lockfile install error it did not resolve.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.