You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remote-SSH eagerly downloads a newer Agent Host Server before reusing the installed editor Server #347561
Does this issue occur when all extensions are disabled?: Not tested. Remote-SSH is required for this scenario.
VS Code Version: 1.145.2 (c4453f8ea430795f941c1b2ff6c9321135a74a02) on both clients
Remote-SSH Version: 0.128.0 on macOS; not recorded on the second client
OS Version: Clients: macOS Tahoe 26.6.2 (25G83), Apple silicon. Remote host: Windows x64 10.0.26300
Latest Insiders: Not tested
Steps to Reproduce:
Use VS Code 1.145.2 to connect to a Windows host with remote.SSH.useExecServer: true. Its matching 1.145.2 editor server is already installed on the host.
Once a newer Stable build (1.145.3) is available but absent from the Agent Host Server cache, reconnect without an already running Agent Host Supervisor. Do not start an agent session.
Observe that the Supervisor resolves and downloads the 1.145.3 server-win32-x64 package before Remote-SSH checks or starts the installed 1.145.2 editor server.
Expected behavior:
An ordinary Remote-SSH workspace should open using the server that matches the client. Preparing a newer Agent Host Server should not be required before the installed editor server can be used.
Actual behavior:
My client and the installed editor server are both 1.145.2 (c4453f8…). The Supervisor instead resolves channel-latest as 1.145.3 (dcd3ad6…) and downloads another server-win32-x64 package. Only after the Supervisor startup attempt does Remote-SSH proceed to the existing 1.145.2 editor server. The newer package was not needed to open this workspace; I did not start an agent session.
In one connection, the Supervisor download was still in progress after 300 seconds. The CLI then proceeded to start the installed 1.145.2 editor server, and the workspace opened. That delay illustrates the impact, but the concern is the unconditional download and its placement before ordinary workspace startup.
Related: #346518 documents my earlier 300-second symptom. #328397 reports that Remote-SSH provisions a separate channel-latest Agent Host Server. This report focuses on why preparing that newer build is a prerequisite for using an already installed, client-matching editor server.
Activity