microsoft / microsoft/vscode-containers

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

Open
#125 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI good first issue investigate
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:

  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

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.