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

贡献指南

打开贡献指南

调研方向

Start by reproducing the reported devcontainer flow and inspect the VS Code lifecycle or container logs around the build-complete message and postCreateCommand. Done means the container reliably runs postCreateCommand and reaches the ready message without requiring a window reload across the affected environments.

由索引模型根据 Issue 内容生成。

评估

技术栈
python, vscode
领域
developer-experience, devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。