coder / coder/vscode-coder

Add support for showing warning if workspace startup script ran into an error

Abierto
#104 0 comentarios 1 reacción 0 asignados Ver en GitHub
good first issue
Lenguaje dominante
TypeScript
Estrellas
130
Forks
48
Merge medio
3 d 3 h
PR fusionados (30 d)
15

Descripción

As part of https://github.com/coder/coder/issues/7757, we want to ensure the user knows if their workspace may be in an incomplete state.

- If startup script blocking behavior is enabled, we can query the coder API for agent lifecycle status and see if it is `start_error`, we can then show a warning popup
- If startup script behavior is non-blocking, we have two scenarios:
1. If agent lifecycle has already entered `start_error` or `ready` we know whether or not to show the error
2. If agent lifecycle is still `starting` or `start_timeout`, we can:
1. Keep polling the status until it is known
2. Never show the message (no work necessary)

We should at least implement i) and optionally ii.a).

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.