coder / coder/vscode-coder

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

オープン
#104 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
good first issue
主要言語
TypeScript
スター
130
フォーク
48
平均マージ
3日 3時間
マージ済み PR(30日)
15

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。