A community based topic aggregation platform built on atproto

test(jetstream): pin one-attempt-per-pass redrive against Postgres master

The same-pass budget exhaustion fix (f43de4c) was only covered by a T0 test against the in-memory fake, whose ListRetryable re-implements the SQL filter. Two T1 tests now run one redriveAll pass against the real PostgresStateStore with a 250-row backlog spanning three pages. Changes: - Persistently failing rows, whatever their starting attempts, record exactly one attempt and are handled exactly once per pass - A mixed backlog deletes every success on pages 1-3 in one pass - Both T1 tests and the T0 fake-queue test assert their backlog spans more than one redrive page, so raising the default batch size fails them instead of silently disarming them Closes 2026-08-27-redriver-same-pass-budget-exhaustion (the production fix landed in f43de4c). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>


+184
2 changed files