coder / coder/jetbrains-coder

Prevent workspaces from being kept alive when they should not

Aperta
#472 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Kotlin
Stelle
33
Fork
18
Merge medio
2g 13h
PR unite (30g)
1

Descrizione

Functional duplicate of https://github.com/coder/vscode-coder/issues/309 for the Jetbrains extension.

When users stop their workspaces in the dashboard, an idle jetbrains gateway session may reconnect them, and start the workspace when the user is not present. This can incur unnecessary costs for administrators while devs are not active.

We should copy the behavior [Asher describes here](https://github.com/coder/vscode-coder/issues/309#issuecomment-2195472060) if possible.

> Is there a workspace build going on? If so, wait for that build.
> Is the workspace on? If not, prompt to start the workspace and depending on the response go back to 1 or quit.
> Otherwise wait for the agent to be ready then connect, or exit if the agent enters some failed/off state.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia leggendo l’issue vscode-coder collegata e il commento a cui fa riferimento, quindi traccia il flusso di connessione e riconnessione del workspace della JetBrains extension. Il lavoro è completo quando un gateway inattivo non riavvia un workspace arrestato, attende un build attivo o un agent pronto quando appropriato e termina quando l’agent raggiunge lo stato failed o off.

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

Valutazione

Stack tecnologico
kotlin
Ambito
devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.