microsoft / microsoft/vscode-remote-release
Multiple postAttachCommands scripts requiring input will not allow user to input response to second prompt.
@chrmarti is already working on this.
Since Nov 25, 2024.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
When starting a devcontainer that builds upon another devcontainer which includes a postAttachCommand script defined via the devcontainer.metadata docker label, and both of the devcontainers implement postAttachCommand scripts which require user input, only the first user input will be accepted, as trying to respond to the second one results in Done. Press any key to close..
To better understand the issue I've linked a minimal reproduction setup below.
- VSCode Version: 1.96.0-insider (system setup)
- Local OS Version: Windows 11 Pro 23H2 22631.4460
- Remote OS Version: debian 11 (bullseye)
- Remote Extension/Connection Type: Containers
- Logs: remoteContainers-2024-11-25T18-00-39.085Z.log
- Logs with all other extensions disabled: remoteContainers-2024-11-25T18-13-43.353Z.log
Steps to Reproduce:
See https://github.com/ifalatiksetlog/devcontainers-postattach-reproduction
Does this issue occur when you try this locally?: Yes/No
Does this issue occur when you try this locally and all extensions are disabled?: Yes
Contributor 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.
Assessment
This issue has not been assessed yet.