Investigate intermittent email sign-up request stalls during e2e auth setup #12

Open
opened 2026-03-14 23:12:26 +00:00 by Francy51 · 0 comments
Owner

Summary

Email/password sign-up is still intermittently stalling before the post-auth handoff logic runs. This showed up after the task-3 redirect race fix was implemented and validated.

Evidence

  • bun x playwright test e2e/auth.spec.ts passed: the dedicated auth handoff suite is green.
  • bun x playwright test e2e/analysis.spec.ts e2e/graphing.spec.ts e2e/financials.spec.ts --workers=1 still had one graphing failure where the signup helper never reached Command Center.
  • The page remained on Create Account with the submit button in Creating account..., which means the signUp.email(...) request had not completed yet.
  • A multi-worker run made this worse: multiple signup helpers timed out before the handoff phase.

Why this is separate from issue #3

Issue #3 addressed the client-side redirect race after a successful auth mutation. The remaining failure happens earlier: the signup request itself sometimes does not complete, so the new handoff state machine never starts.

Acceptance Criteria

  • Signup POST completion is reliable under Playwright-driven app setup.
  • Graphing/analysis/financials auth helpers no longer hang on Creating account....
  • Root cause is identified and fixed or explicitly scoped to test infrastructure.
  • Regression coverage exists for the failing setup path.
  • Triggered by the broader auth-handoff work in #3
## Summary Email/password sign-up is still intermittently stalling before the post-auth handoff logic runs. This showed up after the task-3 redirect race fix was implemented and validated. ## Evidence - `bun x playwright test e2e/auth.spec.ts` passed: the dedicated auth handoff suite is green. - `bun x playwright test e2e/analysis.spec.ts e2e/graphing.spec.ts e2e/financials.spec.ts --workers=1` still had one graphing failure where the signup helper never reached `Command Center`. - The page remained on `Create Account` with the submit button in `Creating account...`, which means the `signUp.email(...)` request had not completed yet. - A multi-worker run made this worse: multiple signup helpers timed out before the handoff phase. ## Why this is separate from issue #3 Issue #3 addressed the client-side redirect race after a successful auth mutation. The remaining failure happens earlier: the signup request itself sometimes does not complete, so the new handoff state machine never starts. ## Acceptance Criteria - Signup POST completion is reliable under Playwright-driven app setup. - Graphing/analysis/financials auth helpers no longer hang on `Creating account...`. - Root cause is identified and fixed or explicitly scoped to test infrastructure. - Regression coverage exists for the failing setup path. ## Related Issues - Triggered by the broader auth-handoff work in #3
Francy51 added the P2 label 2026-03-14 23:12:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Francy51/Neon-Desk#12