KEMBAR78
Add `runOptions.instancePolicy` for tasks by meganrogge · Pull Request #248747 · microsoft/vscode · GitHub
Skip to content

Conversation

@meganrogge
Copy link
Contributor

@meganrogge meganrogge commented May 12, 2025

Fixes #90125

Carries over changes from #117129 to a new branch to avoid conflicts. Also polishes a few things.

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.

Discovered this bug #248733 in the process of testing

…ish/tweak.

Co-authored-by: alpalla <46252231+alpalla@users.noreply.github.com>
@meganrogge meganrogge self-assigned this May 12, 2025
@meganrogge meganrogge added this to the May 2025 milestone May 12, 2025
@meganrogge meganrogge merged commit 712f0ad into main May 12, 2025
8 checks passed
@meganrogge meganrogge deleted the merogge/instance-policy branch May 12, 2025 18:18
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jun 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a task instancePolicy to task runOptions.

3 participants