DiamondLightSource / DiamondLightSource/python-copier-template
Devcontainer does not run `postCreateCommand` for some users
- Lingua principale
- Jinja
- Stelle
- 25
- Fork
- 10
- Merge medio
- 4h 4m
- PR unite (30g)
- 6
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il flusso devcontainer segnalato e ispeziona il ciclo di vita di VS Code o i log del container intorno al messaggio build-complete e a postCreateCommand. Il lavoro è completato quando il container esegue postCreateCommand in modo affidabile e raggiunge il messaggio di pronto senza richiedere il ricaricamento di una finestra negli ambienti interessati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python, vscode
- Ambito
- developer-experience, devtools
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100