Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode.tasks.taskExecutions not cleaned up when a no-command task is terminated #81777

Closed
cnshenj opened this issue Oct 1, 2019 · 0 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues verified Verification succeeded
Milestone

Comments

@cnshenj
Copy link

cnshenj commented Oct 1, 2019

  • VSCode Version: 1.38.1
  • OS Version: Windows 10 1903

Steps to Reproduce:

  1. Prepare the following tasks. parent has no command, only depends on echo.
    "tasks": [
        {
            "label": "echo",
            "type": "shell",
            "command": "echo Hello"
        },
        {
            "label": "parent",
            "dependsOn": ["echo"]
        }
    ]
  1. Use vscode.tasks.fetchTasks() to get tasks then execute parent. vscode.tasks.taskExecutions now contains 2 instances, one for echo, one for parent.
  2. Once echo is completed (parent should be completed too since there is nothing left to do), check vscode.tasks.taskExecutions.

Expected:
vscode.tasks.taskExecutions should be empty.

Actual:
vscode.tasks.taskExecutions still contains an instance for parent.

Does this issue occur when all extensions are disabled?: Yes/No

@alexr00 alexr00 added bug Issue identified by VS Code Team member as probable bug tasks Task system issues labels Oct 2, 2019
@alexr00 alexr00 added this to the October 2019 milestone Oct 2, 2019
@roblourens roblourens added the verified Verification succeeded label Oct 30, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants