tunnels: preserve reconnect pause reasons - #331103
Open
Ulugbek Abdullaev (ulugbekna) wants to merge 2 commits into
Open
tunnels: preserve reconnect pause reasons#331103Ulugbek Abdullaev (ulugbekna) wants to merge 2 commits into
Ulugbek Abdullaev (ulugbekna) wants to merge 2 commits into
Conversation
Fixes microsoft#331102 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7a940617-0dcd-4977-ac27-8078a8937524
Ulugbek Abdullaev (ulugbekna)
requested review from
Connor Peet (connor4312)
and
a balanced review from Copilot
August 16, 2026 18:19
Copilot started reviewing on behalf of
Ulugbek Abdullaev (ulugbekna)
August 16, 2026 18:19
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Preserves tunnel reconnect pause reasons and resumes reconnects only on compatible recovery signals.
Changes:
- Tracks per-tunnel pause reasons and filters recovery triggers.
- Adds regression tests for focus, authentication, and discovery recovery.
- Documents the reconnect recovery contract.
Show a summary per file
| File | Description |
|---|---|
tunnelAgentHost.contribution.ts |
Implements reason-aware reconnect recovery. |
tunnelAgentHost.contribution.test.ts |
Tests pause-reason recovery behavior. |
REMOTE_AGENT_HOST_SESSIONS_PROVIDER.md |
Documents reconnect semantics. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 3/3 changed files
- Comments generated: 1
- Review effort level: Balanced
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7a940617-0dcd-4977-ac27-8078a8937524
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.
Fixes #331102
Summary
Testing
npm run typecheck-clientnpm run eslint -- src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.ts src/vs/sessions/contrib/providers/remoteAgentHost/test/browser/tunnelAgentHost.contribution.test.ts./scripts/test.sh --run src/vs/sessions/contrib/providers/remoteAgentHost/test/browser/tunnelAgentHost.contribution.test.ts