DiamondLightSource / DiamondLightSource/python-copier-template
Devcontainer does not run `postCreateCommand` for some users
- Vorherrschende Sprache
- Jinja
- Sterne
- 25
- Forks
- 10
- Ø Merge
- 4 Std. 4 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, vscode
- Bereich
- developer-experience, devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100