coder / coder/vscode-coder

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

Aberta
#104 0 comentários 1 reação 0 responsáveis Ver no GitHub
good first issue
Linguagem predominante
TypeScript
Estrelas
130
Forks
48
Merge médio
3d 3h
PRs com merge (30d)
15

Descrição

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).

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece rastreando como a extensão consulta a Coder API para obter o status do ciclo de vida do agente do workspace; o issue identifica `start_error`, `ready`, `starting` e `start_timeout` como os estados relevantes. Considera-se concluído quando um aviso é exibido ao atingir `start_error` durante uma inicialização bloqueante; opcionalmente, continuar fazendo polling das inicializações não bloqueantes até que o resultado seja conhecido.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
typescript
Domínio
developer-experience, tooling
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.