Skip to content

Define and document the minimum supported Coder server/CLI version #1180

Closed

Description

@blinkagent

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")) in src/featureSet.ts. If a deployment is below that, src/remote/remote.ts shows "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.0 through 2.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)
  • package.json and CHANGELOG.md mention 2.29.0/2.32.0 requirements 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

  1. Agree on an explicit minimum supported Coder server/CLI version (and a support window policy, e.g. last N minor releases).
  2. Raise the hard gate to that version and delete the capability flags that fall below it, along with their fallback code paths and tests.
  3. Document the result: a short compatibility matrix in the README plus a CHANGELOG entry calling out the breaking change.
  4. 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

Activity

  1. linear-code commented on Nov 9, 2026

    @linear-code
  2. self-assigned this
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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