Repository navigation
Fix sign-in hanging after successful authentication - #1035
Merged
Merged
Conversation
athvin
force-pushed
the
fix/login-navigation
branch
from
November 9, 2026 09:40
42da1d5 to
c8eca25
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 frontendpassed (909 unit/component and 614 browser tests), audit passed, and all CI checks passed after retrying external HTTP 504 failures. After rebasing onto8c9111b0, 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-32c20c5e0da9onMac-26.lan· 2026-11-09T10:17:43.976591+00:00mainis green with this change on it — mergec47822d3d02a21cd5d69fce2757a77fbba741d59; frontend 42595959706, Rust 42595959674, infra and devcontainer all succeeded. Required PR checks passed on exact headc8eca252and all detect jobs succeeded before merge.images— 42595959698 built er-web successfully; er-api correctly reused its unchanged image.deploy— 42596478083 succeeded in prod and dev. Its prod log saysdeploying c47822d3d02a21cd5d69fce2757a77fbba741d59; live service selected green podweb-api-green-568bd44986-ng2t6, both containers ready with zero restarts. Running Next process emittedReady in 0ms. Live Chromium and WebKit tests proved document navigation to/appdespite a stalled RSC request, then dashboard with 23 records and no JavaScript errors..tools/prod-demo-login/navigation-production-verification.jsonl(both browser engines passed).Specific to this change
[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 podweb-api-blue-7dc4d898fb-sspzl(successor releasec892d9ea, which contains this merge) was ready with zero restarts; its Next process emittedReady in 0ms. Safari Back navigation also returned an enabled Sign in button.