fix(app): cancel stale onboarding redirects#2691
Draft
reachjalil wants to merge 1 commit into
Draft
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
@reachjalil is attempting to deploy a commit to the Different AI Team on Vercel. A member of the Team first needs to authorize it. |
This was referenced Jul 12, 2026
Collaborator
Author
Review map: independent state and sync reliability draftsThese drafts address separate ownership/order boundaries and are intended to be reviewed independently against
There is no required merge order. Each PR body includes its own validation, evidence limitations, and a Human review still required checklist. Internal fraimz proofs in this set are test-backed ordering evidence, not live UI recordings. |
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.
Problem
After a successful Den sign-in, the shell recursively scheduled up to ten organization checks. Cleanup removed only the session event listener; it did not cancel those timers. Repeated success events could create overlapping polling chains, and an older chain could redirect to onboarding after sign-out, navigation, a newer sign-in, or unmount.
State and ordering contract
Implementation
Regression proof
Deterministic fake-timer tests prove:
Validation
Evidence limitations
The fraimz run is an internal scheduler proof with deterministic timers. It is not a live UI recording and does not exercise browser handoff timing against a real Den deployment.
Human review still required
This draft is intentionally not ready to merge until a human reviewer confirms:
Scope and mergeability
This is an independent shell ordering fix with no merge dependency on the other Den synchronization drafts.