Devcontainer does not run `postCreateCommand` for some users
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python, vscode
- Domain
- developer-experience, devtools
Research direction
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.
Written by the indexing model from the issue text.
Description
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:
- Container builds
- Displays a message saying build is complete
- Runs
postCreateCommandand begins installing dependencies etc. - 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
- Dominant language
- Jinja
- Stars
- 28
- Forks
- 10
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 4
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DiamondLightSource/python-copier-template
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Ignore renovate updates for ubuntu and ubuntu-devcontainerPossibly taken @KayMohh claimed this 30 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
documentation good first issue
Difficulty 1/5 Under an hour Newbie friendliness 70/100
All issues in DiamondLightSource/python-copier-template
Similar issues
-
formatter-markdown: keep a bare URL followed by a period linked when emphasis delimiters changeOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
swc-project/swc-next-issues#1167 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
tangentcode/tangentswarm#167 ·
Maintainers usually reply within 1 day
-
priority:low ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
OpenHands/extensions#1015 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ardia-browser/ardia#5763 ·
Maintainers usually reply within 1 day