Commit b3f421b
committed
fix: prevent parent tasks from auto-starting during recursive restoration
When restoring subtasks after VS Code restart, parent tasks were being
recursively restored but inadvertently started execution due to missing
startTask parameter. This caused parent tasks to interfere with child
task execution.
Solution:
- Added optional startTask parameter to createTaskWithHistoryItem (defaults to true)
- Pass startTask: false when recursively restoring parent tasks
- Parent tasks now exist in memory for reference only without starting execution
This ensures subtasks can properly complete and report back to parent
tasks after VS Code restarts.1 parent 5e3854f commit b3f421b
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
| 862 | + | |
862 | 863 | | |
863 | 864 | | |
864 | 865 | | |
| |||
919 | 920 | | |
920 | 921 | | |
921 | 922 | | |
922 | | - | |
| 923 | + | |
| 924 | + | |
923 | 925 | | |
924 | 926 | | |
925 | 927 | | |
| |||
966 | 968 | | |
967 | 969 | | |
968 | 970 | | |
| 971 | + | |
969 | 972 | | |
970 | 973 | | |
971 | 974 | | |
| |||
0 commit comments