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(e2e): pin /nosql/new to fast anon hot-pool to stop e2e-prod timeout flake (#180)
nosql was the LAST dedicated-backing-DB service still on the slow authed
(minted-pro) provision path. The authed /nosql/new path provisions a DEDICATED
MongoDB per team — cold-provision > 90s on prod — which timed out the LIVE suite
at the per-test limit (flaky run 27000380873 failed on /nosql/new; an earlier
run failed on /vector/new). Prior PRs pinned db (#178) + queue (#177) + vector
(#179) to the fast anon hot-pool; this completes the set.
Systemic fix: EVERY service whose authed path provisions a dedicated backing DB
(db/vector/nosql) now uses forceAnon (anon hot-pool, TTL-reaped), so none can hit
the slow authed-dedicated-provision timeout. The fast, no-dedicated-DB services
(cache/storage/webhook) stay on the authed/minted-account + authed-reap path, and
the auth specs + claim flow + minted-account lifecycle keep exercising the
on-the-fly minted account — "test accounts on the fly" coverage is retained.
Adds a per-service path table (dedicated-DB? + fast-authed vs anon-hot-pool + why)
to live-anon-provision.spec.ts and syncs the cohort.ts/smoke-spec comments.
Secondary guard: bump playwright.live.config.ts per-test timeout 90s → 120s for
extra cold-hot-pool/network headroom (the forceAnon pinning is the primary fix).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments