Repository navigation
feat(deep-links): time out session lookups, resolve subagent root, and toast when not found - #2070
Merged
Merged
Conversation
…d toast when not found
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
…-links-session-timeout-toast
Hona
added a commit
that referenced
this pull request
Dec 1, 2026
Hona
added a commit
that referenced
this pull request
Dec 1, 2026
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.
Ports official
anomalyco/opencode#67608(feat(app): time out session deep-link lookups and toast when not found, commit4afcc8e6be).Upstream Hunk Mapping
packages/app/src/shell/deep-links/machine.ts:155-168(MAX_SESSION_ID_LENGTH = 256,^ses[A-Za-z0-9._-]+$, reject..) ->apps/desktop/src/workspace/system/deep_links/parse.rs(session_link).packages/app/src/shell/deep-links/session.ts(SESSION_LOOKUP_TIMEOUT_MS = 15_000, parallelprobeInOrderpreserving[own, ...others]priority and settling with best hit on timeout,resolveRootSessionIDparent chain lookup) ->apps/desktop/src/workspace/system/deep_links/session.rs(SESSION_LOOKUP_TIMEOUT,run_parallel_probe,resolve_root_chain,SessionLookupsexplicit state machine).packages/app/src/shell/deep-links/deep-links.tsx:101-148(remember fetched session chain so subagents open under their root tab; showsession.error.notFoundtoast when not found or timed out) ->apps/desktop/src/workspace/system/deep_links/session.rs(poll_session_lookups,open_session).machine.test.ts,session.test.ts): N/A (repo has no automated test code); added--scene deep-link-session-not-foundinapps/desktop/src/workspace/system/deep_links/mod.rs.Verification
scripts/guardrails.ps1: 11/11 passed (with new files staged).--scene deep-link-session-not-foundand--scene deep-link-session.