Use cli for managing workspaces instead of the API
- Lingua principale
- Kotlin
- Stelle
- 33
- Fork
- 18
- Merge medio
- 2g 13h
- PR unite (30g)
- 1
Descrizione
We have to re-implement logic (like shutting down a workspace before updating it) and it would be better to just call out to the cli since it already accounts for all that.
It is a lot of surface area to cover (every plugin) any time a feature is added.
If the command errors, show whatever is in stderr as the error message.
An alternative would be to handle these things at the API layer, and maybe there is a case to be made for that.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non vengono indicati file o test. Inizia individuando il codice di gestione dei workspace e i punti in cui viene chiamata la relativa API, quindi esamina come la CLI gestisce lo stato e gli errori del workspace. Il lavoro è completato quando i percorsi dei plugin pertinenti usano la CLI ed espongono lo stderr del comando in caso di errore.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- kotlin
- Ambito
- cli, tooling
- Tipo di issue
- Refactoring
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100