vscode-docker
vscode-docker copied to clipboard
[Intermittent]Fail to terminate and restart task docker-build when the task is already active
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.

It's possible our custom execution task isn't reacting to cancellation properly. We'll need to look into that.
Verified on the latest build 20200818.1, this issue still reproduces for now. I will continue to track this issue.