Commit e1604a8
committed
fix: rehydrate parent task when subtask completes after interruption
- Modified finishSubTask() to check for parentTaskId and rehydrate parent from history if not on stack
- Enhanced clearTask handler to support parentTaskId-based subtask detection
- Added comprehensive unit tests for subtask rehydration scenarios
Fixes #80811 parent c837025 commit e1604a8
File tree
3 files changed
+618
-4
lines changed- src/core/webview
- __tests__
3 files changed
+618
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
454 | 457 | | |
455 | 458 | | |
456 | 459 | | |
457 | | - | |
458 | | - | |
459 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
460 | 480 | | |
461 | 481 | | |
462 | 482 | | |
| |||
0 commit comments