Skip to content

Coder: View Logs does not work on non-MS VS Code IDEs #660

@EhabY

Description

@EhabY

Description:

The current implementation for retrieving Remote - SSH channel logs returns undefined for non-Microsoft VS Code forks.

const latestOutput = dirs
.reverse()
.filter((dir) => dir.startsWith("output_logging_"));
if (latestOutput.length === 0) {
return undefined;
}
const dir = await fs.readdir(path.join(upperDir, latestOutput[0]));
const remoteSSH = dir.filter((file) => file.indexOf("Remote - SSH") !== -1);

Issue:

VS Code forks use different extension identifiers for Remote SSH:

  • Cursor: anysphere.remote-ssh
  • Google Antigravity: google.antigravity-remote-openssh
  • Other forks: Likely affected as well

These forks store Remote - SSH logs in folders matching their extension names rather than the standard Microsoft folder structure. The log files still contain "Remote - SSH" in their filenames.

Solution:

The log retrieval logic should check for fork-specific extension folders when searching for Remote - SSH logs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions