Repository navigation
Closed
Description
Context
The supported-version story for the extension is currently hard to reason about. A similar discussion is happening for the JetBrains Toolbox plugin (which still supports back to 2.2), and the question came up of what the VS Code extension actually supports today.
Current state
There is no single documented floor. What exists in code:
- The only hard gate is
cliLogin(versionAtLeast(version, "0.25.0")) insrc/featureSet.ts. If a deployment is below that,src/remote/remote.tsshows "Your Coder server is too old to support the Coder extension! Please upgrade to v0.25.0 or newer." and closes the remote. - Everything else is a capability flag, spanning
2.4.0through2.39.0:- CLI:
proxyLogDirectory(2.4.0),supportBundle(2.10.0),wildcardSSH(2.19.0),sshCommand(2.23.0),cliUpdate(2.24.0),buildReason(2.25.0),keyringAuth(2.29.0),tokenRead(2.32.0),sshTty(2.34.0),supportBundleWorkspaceFiles(2.36.0),allowRedirectsFlag/customSessionAppNames(2.38.0),keyringByOrigin(2.39.0) - Server:
tasks(2.29.0 to <2.35.0),onSuccessBuild(2.36.0),customSessionAppNames(2.38.0)
- CLI:
package.jsonandCHANGELOG.mdmention2.29.0/2.32.0requirements for keyring behaviour, which reads like a global minimum but is only scoped to that feature.
Net effect: the extension technically claims support back to 0.25.0, while large parts of the feature set only work on much newer deployments, and there is no published compatibility matrix that states this.
Proposal
- Agree on an explicit minimum supported Coder server/CLI version (and a support window policy, e.g. last N minor releases).
- Raise the hard gate to that version and delete the capability flags that fall below it, along with their fallback code paths and tests.
- Document the result: a short compatibility matrix in the README plus a CHANGELOG entry calling out the breaking change.
- Make sure the "Incompatible Server" message references the new floor.
Open questions
- What floor do we want? Something like 2.29.0 would let us drop the pre-keyring paths entirely; a lower floor keeps older deployments working but keeps the branching.
- Do we align the VS Code and JetBrains Toolbox floors, or let them diverge?
- Should the policy be version-pinned or rolling (e.g. "server releases from the last 12 months")?
Created on behalf of @EhabY
Metadata
Metadata
Assignees
Labels
No labels
Activity
linear-code commentedon Nov 9, 2026
VSC-44