feat: collect remote editor logs in support bundles#1042
Open
EhabY wants to merge 4 commits into
Open
Conversation
EhabY
force-pushed
the
feat/support-bundle-remote-logs
branch
from
July 20, 2026 22:34
a44730d to
05c3870
Compare
EhabY
force-pushed
the
feat/support-bundle-remote-logs
branch
from
July 21, 2026 08:44
05c3870 to
1b3db23
Compare
Collaborator
Author
|
/coder-agents-review |
|
Chat: Review in progress (20/20 reviewers complete) | View chat deep-review v0.9.0 | Round 1 | Status: Panel review (19 reviewers) About deep-reviewCRF = Coder Review Finding (P0-P4, Nit, Note)
|
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.
Summary
--workspace-filesupport, gated to Coder 2.36.0+.Remote log coverage
For each resolved server data directory, collect these narrow known layouts:
data/logs/**/*.log— editor runtime, extension-host, and related logs.*.log— legacy server startup logscli/servers/*/log.txt— exec-server startup logsBoth startup layouts are included rather than gated by the current
remote.SSH.useExecServervalue: the setting can change after connection, Open Remote SSH uses the legacy layout independently, and supported IDE forks do not expose one consistent authoritative mode signal.Log path resolution
Paths are resolved in this order:
remote.SSH.serverInstallPathbehavior. This takes precedence because supported implementations may pass it as VS Code's--server-data-dir.VSCODE_AGENT_FOLDERwhen available.~/{product-server-folder}from the editor's validatedproduct.jsonmetadata.The resolver uses the same first supported Remote-SSH extension selected during activation.
serverInstallPathbehaviorcli/servers/*/log.txtobserved*.<commit>.logat the server data rootTesting
pnpm test— 2,232 passed, 1 skippedpnpm lintpnpm typecheckpnpm format:checkgit diff --checkGenerated by Coder Agents.