Files
buzz/crates
Eli Foster 7d1dc3c28d Verify the migration exemption against Postgres
Split the exemption into `lift_runtime_timeouts` and `retire_connection`
so both halves are observable, and cover them: the migrator's connection
reports both limits as `0`, and a single-slot pool hands out a freshly
configured connection afterwards rather than the relaxed session.

Both assertions were checked against a neutered implementation — a no-op
lift and a `drop` instead of a close each fail the test — because a
timing-based test does not discriminate here: on an empty database every
migration statement finishes well inside the runtime cap, so it would
pass with or without the exemption.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Eli Foster <efoster@squareup.com>
2026-08-11 10:36:07 +10:00
..