[quarantine] settings.spec.ts — signup→dashboard 500 timing flake #52
Labels
No labels
blocked:gate-fetch
blocked:gate-implement
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:needs-local-checkout
blocked:no-changes
bug
feature-request
in-progress
needs-decompose
needs-triage
ops-task
quickfix
security/high
security/low
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/nodedesk#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Quarantined under Mark/nodedesk#49 (Phase 2 quality gates).
Test location
tests/settings.spec.tsReproduction
Note: Flaky — may pass on warm starts, fails on cold starts.
Failure mode
After clicking "Start trial" in
tests/helpers.ts, the redirect to/apptimes out at 15s and renders Next's error page:This page couldn't load — A server error occurred (ERROR 309949775).Root cause
Cold-start DB/connection race in the production server started by Playwright. The
webServertimeout is 120s, but the signup redirect budget inhelpers.tsis only 15s. On a slow runner, the first request to/apphits a 500 before the DB connection pool warms up. ThewaitForLoadState("networkidle")usage (9 instances in helpers.ts, flagged in audit §3.9) compounds this by waiting for connections that may never settle.Acceptance criteria for un-quarantine
tests/helpers.tsfrom 15s to 30s, ORtests/global-setup.ts(hit a health endpoint before tests), ORwaitForLoadState("networkidle")with explicit locator/URL waits.References
docs/ci/audit.md§3.2, §3.9