- VSCode Version:
- OS Version:
Steps to Reproduce:
- Write an extension that uses customExecution(s) and provides them during provideTasks. Make one of them a build task and set it as default so it is written to tasks.json.
- Modify the task in tasks.json so it no longer matches what the extension will return from provideTasks. This ensures that resolveTask will be called.
- Execute "configure default build task" again.
Result:
The extension's resolveTask API is called, but when the extension host attempts to create an ID in addCustomExecution (or addCustomExecution2) it fails because the extHostTask implementation of $resolveTask is not using the resolved DTO or the resolved task when calling these APIs.