-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Labels
Milestone
Description
Refs #90125
Complexity: 3
Set instanceLimit
for a task without dependencies (issue tracking that not working for compound tasks #248733). Set instancePolicy
and ensure the descriptions of those values make sense and work as expected.
Example:
{
"label": "Run tests",
"type": "shell",
"command": "./scripts/test.sh",
"windows": {
"command": ".\\scripts\\test.bat"
},
"group": "test",
"presentation": {
"echo": true,
"reveal": "always"
},
"runOptions": {
"instanceLimit": 2,
"instancePolicy": "prompt"
}
},
Note when verifying: after changing the instancePolicy
, one must kill all instances of that task for it to take effect - that's by design as it's reusing the instancePolicy
that was set for the prior task terminals.
tvervest and johnmgrant