You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(backend): Prevent integration test flake from container startup timeouts
The suite hooks (beforeAll/afterAll) used the same 120s budget as the
container startup timeout, leaving zero headroom for migrations and app
boot. Under load (e.g. pre-push hooks running tests, PHP tests, and
builds concurrently) a slow container start ate the whole hook budget
and the suite failed with "Hook timed out in 120000ms".
Introduce shared timeout constants in tests/integration/timeouts.ts and
use them everywhere: container startup stays at 120s, suite hooks get
300s to leave headroom.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments