Repository navigation
Conversation
EhabY
force-pushed
the
feat/support-bundle-on-ssh-failure
branch
2 times, most recently
from
December 4, 2026 15:46
f7ee1ce to
3994517
Compare
EhabY
marked this pull request as ready for review
December 4, 2026 18:21
EhabY
force-pushed
the
feat/support-bundle-on-ssh-failure
branch
from
December 4, 2026 18:36
864b692 to
f9beb31
Compare
VS Code has no API that reports a lost remote connection, but it logs the decision to give up in the window log. ConnectionFailureMonitor reads new lines from that log and reports the first failure, and ConnectionFailurePrompt offers a support bundle. The failure stays stored per deployment until a bundle is saved or the user dismisses the offer, and the next successful connection offers it again for up to a day. Support bundles now include the window log and logs from Cursor Glass workspaces.
EhabY
force-pushed
the
feat/support-bundle-on-ssh-failure
branch
from
December 4, 2026 18:49
f9beb31 to
fe3ac00
Compare
jeremyruppel
approved these changes
Dec 4, 2026
This branch has not been deployed
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 #970.
VS Code has no API that reports a lost remote connection. When it gives up, VS Code shows "Cannot reconnect. Please reload the window.", and Devin, Antigravity, and Cursor show their own UI or nothing. Every editor logs the decision to the window log (
renderer.log), so the extension now reads new lines from that log and offers a support bundle when the editor gives up.ssh.connection.failed.coder.supportBundlecommand.window<N>_wb<K>).Code, in
src/connectionFailure/:parseWindowLogLineturns a log line into an event.LogFileReaderreturns new complete lines and handles rotation and locked files.ConnectionFailureMonitordecides that the connection failed and firesonDidFailonce.ConnectionFailurePromptstores the failure and shows the notification. It waits for a working connection before offering a stored failure.remote.tsconnects the two.Known limits:
Related: #1244 fixes Cursor's port detection and workspace label.
Generated by Coder Agents on behalf of @EhabY.