mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
This fixes the issue where parent tasks disappear from the UI in orchestrator mode after delegating to a child task via new_task tool. Root cause: In getTaskWithId(), if the historyItem existed in taskHistory but the apiConversationHistory.json file did not exist (due to race conditions during delegation), the method would incorrectly delete the task from state. Fix: When historyItem exists but the API history file does not, return the task with an empty apiConversationHistory array instead of deleting it. This preserves the task metadata during delegation and prevents the parent task from disappearing from the UI. Added tests to verify: - Task is preserved with empty API history when file is missing - Task is properly deleted when historyItem does not exist |
||
|---|---|---|
| .. | ||
| assistant-message | ||
| auto-approval | ||
| checkpoints | ||
| condense | ||
| config | ||
| context/context-management | ||
| context-management | ||
| context-tracking | ||
| diff | ||
| environment | ||
| ignore | ||
| mentions | ||
| message-manager | ||
| message-queue | ||
| prompts | ||
| protect | ||
| task | ||
| task-persistence | ||
| tools | ||
| webview | ||