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
Commit bf287af
Browse filesBrowse the repository at this point in the historyBrowse files
fix: queue workspace updates as one build and stop autostart races
`coder update` runs a stop build and then a start build. Between the
two, the extension's own `coder ssh` reconnect autostarts the workspace
on the old template version, so the update's start build is rejected
with "A workspace build is already active" and the workspace comes back
unchanged.
On servers from 2.36, post a single build that carries the start in
`on_success`, so nothing can take the build slot in between. Leave
`template_version_id` unset on the follow-up build, because pinning it
requires template update permission and the update targets the active
version anyway. Servers before 2.36 keep the `coder update` path, and
CLIs before 2.24 keep the REST path.
Pass `--disable-autostart` as an internal SSH flag so a custom
`coder.sshFlags` value cannot drop it, and ask before connecting to the
existing version when an update fails instead of falling back silently.
Fixes#1095
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@
183
183
]
184
184
},
185
185
"coder.sshFlags": {
186
-
"markdownDescription": "Additional flags to pass to the `coder ssh` command when establishing SSH connections. Enter each flag as a separate array item; values are passed verbatim and in order. See the [CLI ssh reference](https://coder.com/docs/reference/cli/ssh) for available flags.\n\nNote: `--network-info-dir` and `--ssh-host-prefix` are ignored (managed internally). Prefer `#coder.proxyLogDirectory#` over `--log-dir`/`-l` for full functionality.",
186
+
"markdownDescription": "Additional flags to pass to the `coder ssh` command when establishing SSH connections. Enter each flag as a separate array item; values are passed verbatim and in order. See the [CLI ssh reference](https://coder.com/docs/reference/cli/ssh) for available flags.\n\nNote: `--disable-autostart`, `--network-info-dir`, and `--ssh-host-prefix` are managed internally. Prefer `#coder.proxyLogDirectory#` over `--log-dir`/`-l` for full functionality.",
0 commit comments