Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Updating workspace via VS Code fails

Chiusa
#1,095 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@EhabY ci sta già lavorando.

Dal 17/9/2026.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
typescript, vscode
Ambito
devtools

Direzione di ricerca

Inizia riproducendo il fallimento con il pulsante “Update workspace” della VS Code extension e confrontalo con il percorso di aggiornamento funzionante del sito web. Traccia l’invocazione di coder update da parte dell’extension e la gestione dei parametri dinamici, usando i logs forniti e l’issue 972 come contesto. Il lavoro è completato quando l’aggiornamento termina senza l’errore “workspace build is already active” e viene eseguita la nuova template version.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Here are the logs from the Coder VS Code output panel when I try to update my workspace via the "Update workspace" button in VS Code:

2026-08-25 13:49:18.543 [info] [session 3c5e933a] Updating kevin/workstation {"status":"running"}
2026-08-25 13:49:20.446 [info] [session 3c5e933a] Workspace kevin/workstation state changed {"from":"running","to":"stopping","transition":"stop","reason":"initiator"}
2026-08-25 13:49:20.446 [info] [session 3c5e933a] Workspace kevin/workstation agent <ELIDED> removed
2026-08-25 13:49:35.695 [info] [session 3c5e933a] Workspace kevin/workstation state changed {"from":"stopping","to":"stopped","transition":"stop","reason":"initiator"}
2026-08-25 13:49:41.967 [info] [session 3c5e933a] Workspace kevin/workstation state changed {"from":"stopped","to":"starting","transition":"start","reason":"ssh_connection"}
2026-08-25 13:49:49.480 [warning] [session 3c5e933a] Update failed for kevin/workstation: "--global-config /Users/kevin/Library/Application Support/Code/User/globalStorage/coder.coder-remote/coder.stackav.io update kevin/workstation" exited with code 1: Encountered an error running "coder update", see "coder update --help" for more information
error: Trace=[start workspace: create workspace build: ]
A workspace build is already active.
A workspace build is already active.

The workspace does restart but ends up still running the same (non-updated) template version. Updating the workspace on the Coder website works fine as a workaround.

This is on macOS using the Coder VS Code extension version 1.16.1 in VS Code version 1.134.0 (Universal). We're running Coder v2.35.3 on the server.

I found https://github.com/coder/vscode-coder/issues/972 but I'm not sure if it's the same issue. The workspace template I am using does use dynamic parameters with one of the mentioned conditions (A parameter only appears for certain combinations of other inputs (the static rich-parameters list does not include it).).

Lingua principale
TypeScript
Stelle
131
Fork
48
Merge medio
4g 15h
PR unite (30g)
17

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/vscode-coder

Tutte le issue di coder/vscode-coder

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.