Repository navigation
Closed
Labels
bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsiderstasksTask system issuesverifiedVerification succeeded
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
Version: 1.60.0 (user setup)
Commit: e7d7e9a
Date: 2021-09-01T10:41:52.311Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043
Steps to Reproduce:
- Have the following tasks.json contents:
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"label": "test1",
"type": "shell",
"command": "echo ${input:input1}${input:input2}",
"runOptions": {
"reevaluateOnRerun": false
},
"dependsOn": ["test2"]
},
{
"label": "test2",
"type": "shell",
"command": "echo ${input:input1}"
}
],
"inputs": [
{
"id": "input1",
"description": "input1",
"type": "pickString",
"options": [
"Option1",
"Option2"
]
},
{
"id": "input2",
"description": "input2",
"type": "pickString",
"options": [
"Option1",
"Option2"
]
}
]
}- Run the task "test1" and choose "Option1" for input1 and "Option2" for input2
- This produces the expected output (i.e. both test2 and test1 outputs)

- Now run the Rerun Last Task command.
Expected Output: Image shown from step 3 as we are simply rerunning test1 and shouldn't need to reevaluate the two inputs.
Actual Output:

It seems as though test1 gets run twice and test2 doesn't get run at all. The inputs are kept from the previous run, and the user isn't prompted again like expected.
Let me know if there is any information missing or any questions.
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsiderstasksTask system issuesverifiedVerification succeeded
Activity