Add support for showing warning if workspace startup script ran into an error
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
まず、extension が workspace agent のライフサイクルステータスを取得するために Coder API をどのようにクエリしているかを追跡します。issue では、start_error、ready、starting、start_timeout が関連する状態として特定されています。完了条件は、ブロッキング起動が start_error に到達したときに警告を表示することです。必要に応じて、結果が判明するまでノンブロッキング起動のポーリングを継続します。
索引モデルが issue の本文から書いたものです。
説明
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:
- If agent lifecycle has already entered
start_errororreadywe know whether or not to show the error - If agent lifecycle is still
startingorstart_timeout, we can:- Keep polling the status until it is known
- Never show the message (no work necessary)
- If agent lifecycle has already entered
We should at least implement i) and optionally ii.a).
- 主要言語
- TypeScript
- スター
- 131
- フォーク
- 48
- 平均マージ
- 4日 16時間
- マージ済み PR(30日)
- 13
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/vscode-coder のほかの issue
-
tech-debt
coder/vscode-coder#1120 · コメント 1 件 · 担当者 1 名 ·
-
tech-debt
coder/vscode-coder#1119 · コメント 1 件 · 担当者 1 名 ·
-
enhancement tech-debt
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
coder/vscode-coder#1118 · コメント 1 件 ·
-
coder/vscode-coder#1113 · コメント 3 件 · 担当者 1 名 ·
-
Flush the connection log buffer after N failed reconnect attempts against an unreachable server オープンenhancement tech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
coder/vscode-coder#1112 · コメント 1 件 ·
coder/vscode-coder の issue をすべて見る
似ている issue
-
Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenNSW/nsw-srilanka#497 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
digidem/comapeo-cloud-app#403 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100