microsoft / microsoft/vscode-containers
[Intermittent]Fail to terminate and restart task docker-build when the task is already active
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 139
- Forks
- 87
- Avg merge
- 9h 15m
- Merged PRs (30d)
- 9
Description
OS: All
Build Version: 20200122.2
Regression: Not a Regression
Repro Steps:
- Create an Express App.
- Build the Dockerfile --> Build the Dockerfile again immediately.
- Pop up a warning "The task 'docker-build(appname)'is already active".
- Select "Restart Task".

Expect:
Succeed to restart task. Meanwhile there is a warning if fail to restart.
Actual:
Only display "Failed to terminate and restart task docker-build" and there is no any log message.

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.
Research direction
Start by reproducing the docker-build task flow with an Express app: run the Dockerfile build twice immediately, then choose "Restart Task". Trace the task termination and restart entry point in the VS Code Containers extension and check existing logging around the failure. Done means restart succeeds or displays a warning with a useful log message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, typescript, vscode
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100