DiamondLightSource / DiamondLightSource/python-copier-template

Devcontainer does not run `postCreateCommand` for some users

Đang mở
#243 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug devcontainer
Ngôn ngữ chính
Jinja
Star
25
Fork
10
Merge trung bình
4 giờ 4 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python, vscode
Lĩnh vực
developer-experience, devtools
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.