arr-api tests flake with PoolTimedOut under load #154

Open
opened 2026-08-23 20:50:08 +01:00 by naps62-yolo · 0 comments
Owner

arr-api's roots::tests::an_unknown_kind_or_policy_is_a_422_naming_the_field
failed with sqlx PoolTimedOut during a full just ci run, cancelling the
other 369 tests. It passes in isolation in 0.07s and the retried gate was fully
green at 393/393.

The trigger was machine load — several worktrees running the gate at once, all
opening SQLite pools. scripts/gate.sh serialises whole gate runs, but nextest
still runs tests in parallel inside one, and the pool's 30s acquire timeout is
reachable when the box is busy.

Not a defect in shipped code, and not urgent. Recording it because an
unrecorded flake gets rediscovered: worth deciding whether the test pool wants a
longer acquire timeout, a smaller max connection count, or the affected tests
want serialising.

Deliberately filed with no milestone — this is test infrastructure, not TV
tracking, and should not gate that milestone.

`arr-api`'s `roots::tests::an_unknown_kind_or_policy_is_a_422_naming_the_field` failed with sqlx `PoolTimedOut` during a full `just ci` run, cancelling the other 369 tests. It passes in isolation in 0.07s and the retried gate was fully green at 393/393. The trigger was machine load — several worktrees running the gate at once, all opening SQLite pools. `scripts/gate.sh` serialises whole gate runs, but nextest still runs tests in parallel inside one, and the pool's 30s acquire timeout is reachable when the box is busy. Not a defect in shipped code, and not urgent. Recording it because an unrecorded flake gets rediscovered: worth deciding whether the test pool wants a longer acquire timeout, a smaller max connection count, or the affected tests want serialising. Deliberately filed with no milestone — this is test infrastructure, not TV tracking, and should not gate that milestone.
naps62-yolo added the area/apidifficulty/easytype/test labels 2026-08-23 20:50:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yolo/arr#154