Repository: vscode
Issue: Parallel tasks with INPUT selection does not run all tasks.
Labels: bug,tasks

Type: <b>Bug</b>

I have 3 tasks that transfers a specific file (each different) to a specified server.  The server is entered via an INPUT variable.  Each of these tasks works independently.

I have a fourth task, that has dependsOn those three tasks, and when I use a "parallel" dependsOrder, only the last task runs.  The first two tasks don't.  NOTE:  When I use a "sequence" dependsOnOrder ... all three tasks run properly (only prompting for a single input entry, since they are using the same value).

```
"inputs": [
{
            "id":"scp-target",
            "type":"pickString",
            "description":"Where do you want to transfer the files",
            "options": [
                "172.19.88.243",
                "10.46.28.70",

                "10.40.90.41",
                "10.46.28.73",
                "10.38.101.70",
                "10.34.20.106"
            ],
            "default": "172.19.88.243"
        }
    ],
{
            "label": "Generate DiffOutput.txt",
            "type": "shell",
            "group": "none",
            "command": "svn status -q | grep \"^ *[MAD]\" > filelist.txt && tools_utils/design/svndiff_any.sh filelist.txt",
            "options": {
                "cwd": "${workspaceFolder}/"
            },
        },
        {
            "label": "SCP 6920w",
            "type": "shell",
            "group": "none",
            "command": "scp OnePhone/build-output/voice/DVF101_MINET_6920w/MINET_6920w-enc.st root@${input:scp-target}:/var/mitel-phoneloads/tftp",
            "options": {
                "cwd": "${workspaceFolder}/"
            },
        },
        {
            "label": "SCP 6930w",
            "type": "shell",
            "group": "none",
            "command": "scp OnePhone/build-output/voice/DVF101_MINET_6930w/MINET_6930w-enc.st root@${input:scp-target}:/var/mitel-phoneloads/tftp",
            //"command": "scp OnePhone/build-output/voice/DVF101_MINET_6930w/MINET_6930w-enc.st root@10.46.28.70:/var/mitel-phoneloads/tftp",
            "options": {
                "cwd": "${workspaceFolder}/"
            },
        },
        {
            "label": "SCP 6940w",
            "type": "shell",
            "group": "none",
            "command": "scp OnePhone/build-output/voice/DVF101_MINET_6940w/MINET_6940w-enc.st root@${input:scp-target}:/var/mitel-phoneloads/tftp",
            //"command": "scp OnePhone/build-output/voice/DVF101_MINET_6940w/MINET_6940w-enc.st root@10.46.28.70:/var/mitel-phoneloads/tftp",
            "options": {
                "cwd": "${workspaceFolder}/"
            },
        },
        {
            "label": "Transfer Files",
            "dependsOrder": "parallel",
            "dependsOn": ["SCP 6920w", "SCP 6930w", "SCP 6940w"],
        },
```

VS Code version: Code 1.70.2 (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:35:13.448Z)
OS version: Windows_NT x64 10.0.19043
Modes:
Remote OS version: Linux x64 4.15.0-142-generic

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|31.87GB (5.22GB free)|
|Process Argv|--crash-reporter-id ef4653f3-b55a-4603-9194-c4aa039fa133|
|Screen Reader|no|
|VM|40%|

|Item|Value|
|---|---|
|Remote|SSH: DTP-00|
|OS|Linux x64 4.15.0-142-generic|
|CPUs|Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (4 x 4200)|
|Memory (System)|7.79GB (0.18GB free)|
|VM|100%|
</details><details><summary>Extensions (20)</summary>

Extension|Author (truncated)|Version
---|---|---
better-comments|aar|3.0.2
Bookmarks|ale|13.3.1
vsc-material-theme|Equ|33.5.0
better-cpp-syntax|jef|1.15.19
vscode-peacock|joh|4.1.0
remote-containers|ms-|0.245.2
remote-ssh|ms-|0.84.0
remote-ssh-edit|ms-|0.80.0
material-icon-theme|PKi|4.20.0
doxdocgen|csc|1.4.0
c-cpp-flylint|jbe|1.11.0
svn-scm|joh|2.15.5
cpptools|ms-|1.11.5
cpptools-extension-pack|ms-|1.2.0
references-view|ms-|0.0.89
indent-rainbow|ode|8.3.1
command-variable|rio|1.40.0
text-marker|ryu|1.11.0
code-spell-checker|str|2.6.0
markdown-all-in-one|yzh|3.4.3

(2 theme extensions excluded)

</details>
<!-- generated by issue reporter -->