Skip to content

Tasks dependson/presentation group order #128500

@roa-nyx

Description

@roa-nyx

Issue Type: Bug

Create a task that depends on two other tasks:

{
    "label": "main-task",
    "dependsOn": [
        "subtask-a",
        "subtask-b"
    ],
    "problemMatcher": []
}

Create two shell tasks subtask-a, subtask-b. In my case these are long-running tasks but I don't think that matters.

In both subtasks add the following:

"presentation": {
    "group": "main-task"
}

Run the main-task task.

Doing this opens both subtasks side by side. Up until v1.58.0 this would place the first subtask on the left panel, and the second subtask on the right. However since v1.58.0 this now places them in reverse order.

VS Code version: Code 1.58.0 (2d23c42, 2021-07-08T06:54:55.083Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.81GB (3.52GB free)
Process Argv --crash-reporter-id 4f0cfeed-1899-4534-99dc-3679fb8c95af
Screen Reader no
VM 0%
Extensions (18)
Extension Author (truncated) Version
calculate aca 2.1.0
numbered-bookmarks ale 8.1.0
ue4-snippets CAP 2.0.1
gitlens eam 11.5.1
tsl-problem-matcher eam 0.4.0
url-encode fle 1.1.0
vscode-edit-csv jan 0.6.0
docomment k-- 0.1.20
csharp ms- 1.23.12
python ms- 2021.6.944021595
jupyter ms- 2021.8.1013163132
cpptools ms- 1.5.1
hexeditor ms- 1.7.1
vsliveshare ms- 1.0.4531
debugger-for-chrome msj 4.12.12
docthis oou 0.8.2
vscode-gitignore-generator pio 1.0.3
partial-diff ryu 1.4.3

Metadata

Metadata

Labels

author-verification-requestedIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions