vscode-docker icon indicating copy to clipboard operation
vscode-docker copied to clipboard

[Intermittent]Fail to terminate and restart task docker-build when the task is already active

Open v-dantch opened this issue 5 years ago • 2 comments

OS: All Build Version: 20200122.2 Regression: Not a Regression

Repro Steps:

  1. Create an Express App.
  2. Build the Dockerfile --> Build the Dockerfile again immediately.
  3. Pop up a warning "The task 'docker-build(appname)'is already active".
  4. Select "Restart Task". image

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. image

v-dantch avatar Jan 22 '20 08:01 v-dantch

It's possible our custom execution task isn't reacting to cancellation properly. We'll need to look into that.

philliphoff avatar Jan 23 '20 17:01 philliphoff

Verified on the latest build 20200818.1, this issue still reproduces for now. I will continue to track this issue.

v-mengwe avatar Aug 20 '20 08:08 v-mengwe