Skip to content

Fix sign-in hanging after successful authentication - #1035

Merged
athvin merged 1 commit into
mainfrom
fix/login-navigation
Nov 9, 2026
Merged

athvin merged 1 commit into
mainfrom
fix/login-navigation

Conversation

@athvin

@athvin athvin commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #1034

A Safari user could authenticate successfully yet remain on “Signing in…”; opening the dashboard directly in the same window worked. Sign-in now loads the validated destination with a fresh document request, avoiding the client-router transition and immediate refresh. A request that stalls for 15 seconds shows a retryable error and re-enables the form.

Validation: both new browser regression tests failed against the original implementation. They cover a successful login with a stalled portal RSC request, and a stalled authentication request followed by retry. Before rebase, make frontend passed (909 unit/component and 614 browser tests), audit passed, and all CI checks passed after retrying external HTTP 504 failures. After rebasing onto 8c9111b0, lint, types, build and 911 unit/component tests passed; the full browser suite passed 643 cases and reproduced the pre-existing Safari source-wizard priority-rank race (#1007). A full browser rerun reproduced the same unrelated failure. All authentication regressions pass in Chromium and WebKit. Required CI will validate the rebased commit without excluding that wizard test.

Risk: successful sign-in now performs a full page load. Existing same-origin redirect validation and no-workspace handling remain. Rollback: revert this commit.

Post-merge ledger

Closed by: Codex · session 01a1be1a-66a7-72f3-8e78-32c20c5e0da9 on Mac-26.lan · 2026-11-09T10:17:43.976591+00:00

Specific to this change

  • Production viewer demo account [email protected] retains its 23 synthetic records; verified through the deployed browser login and authenticated metrics endpoint. No superadmin permission was granted.

Observation artifacts on the session host: .tools/prod-demo-login/release-observations.jsonl, navigation-production-final.jsonl. Final serving pod web-api-blue-7dc4d898fb-sspzl (successor release c892d9ea, which contains this merge) was ready with zero restarts; its Next process emitted Ready in 0ms. Safari Back navigation also returned an enabled Sign in button.

@athvin
athvin force-pushed the fix/login-navigation branch from 42da1d5 to c8eca25 Compare November 9, 2026 09:40
@athvin
athvin merged commit c47822d into main Nov 9, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix sign-in remaining pending after successful authentication

2 participants