coder / coder/envbuilder

Fallback image on "error: compile devcontainer.json"

オープン
#469 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
300
フォーク
64
平均マージ
20分
マージ済み PR(30日)
1

説明

I accidentally broke my devcontainer, which gives this error and a crashloop:
```
error: compile devcontainer.json: user from dockerfile: parse image ref "python:$PY_VERSION": could not parse reference: python:$PY_VERSION
```
I know this is #455 but it would be nice if it just used the fallback_image if the devcontainer doesn't compile. That way I can edit the devcontainer in coder and don't have to go into the pod manually or edit it on the github website.
Thanks y'all!

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、devcontainer のコンパイルエラーの経路と、既存の fallback_image の処理を追跡します。malformed な python:$PY_VERSION のケースを再現し、その後、コンパイル失敗によってフォールバックイメージが起動し、Coder で編集できる状態で環境が使用可能なままになることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, go
領域
devops
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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