DiamondLightSource / DiamondLightSource/python-copier-template

Devcontainer does not run `postCreateCommand` for some users

未關閉
#243 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug devcontainer
主要語言
Jinja
星號
25
分支
10
平均合併
4 小時 4 分鐘
30 天內合併 PR
6

描述

We've noticed this with a couple of users, I have noticed it on my laptop but not my Diamond workstation. The expected flow is:
1. Container builds
2. Displays a message saying build is complete
3. Runs `postCreateCommand` and begins installing dependencies etc.
4. Displays a message saying devcontainer is ready and that the user should press any key to continue

The observed symptoms are vscode getting stuck at step 2. reloading the window usually gets it unstuck and it executes step 3. and 4. more investigation is needed

貢獻指南

開啟貢獻指南

研究方向

首先重現所回報的 devcontainer 流程,並檢查 build-complete 訊息和 postCreateCommand 附近的 VS Code 生命週期或容器記錄。完成的標準是,在受影響的環境中,容器能可靠地執行 postCreateCommand 並到達就緒訊息,而不需要重新載入視窗。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python, vscode
領域
developer-experience, devtools
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。