Roo-Code/e2e
cannuri 6ce8e56db5 fix: Preserve parent-child relationship when cancelling subtasks
This commit fixes an issue where subtasks weren't properly reporting back to parent tasks when cancelled and resumed. Previously, when a subtask was cancelled and a new task was started with the same message, the parent task would incorrectly resume, causing unexpected behavior.

The fix:
1. Stores parent-child relationship information before cancelling a task
2. Restores this relationship after task reinitialization
3. Ensures parent tasks only resume when explicitly instructed to do so

This approach maintains the correct task hierarchy throughout the cancellation and resumption process, preventing parent tasks from automatically resuming when unrelated tasks with similar messages are started.
2025-03-11 06:05:48 +01:00
..
src fix: Preserve parent-child relationship when cancelling subtasks 2025-03-11 06:05:48 +01:00
.env.integration.example Move integration tests into its own module 2025-02-28 21:23:11 -08:00
.vscode-test.mjs Fix e2e test paths 2025-02-28 21:40:47 -08:00
package-lock.json Move integration tests into its own module 2025-02-28 21:23:11 -08:00
package.json Fix e2e test paths 2025-02-28 21:40:47 -08:00
tsconfig.json Estimate the number of tokens in the last message for sliding window math 2025-02-28 21:34:53 -08:00
VSCODE_INTEGRATION_TESTS.md Move integration tests into its own module 2025-02-28 21:23:11 -08:00