microsoft / microsoft/vscode-remote-release

devcontainer postCreateCommand failure is not reported

Open
#8,906 0 comments 0 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Aug 31, 2023.

bug containers
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Non-zero return code from any command invoked in the postCreateCommand section of the devcontainer.json doesn't show up as an error (silently ignoring it). Example:

"postCreateCommand": "exit 1"

Version: 1.81.1
Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Embedder: codespaces

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.