Roo-Code/packages/telemetry
davincidreams 11b0bdef9d feat: parallel task introspection, orphan detection, error handling, and telemetry
- Introspection API: add ParallelTaskStatus type and getParallelTaskStatus() on
  TaskProviderLike so callers can list active child, queued tasks, and completed
  results (with errors) for any task ID
- Worktree orphan detection: detectAndCleanOrphanedWorktrees() scans history on
  startup, emits telemetry for each find, and offers a VS Code cleanup prompt
- Error propagation: reopenParentFromDelegation accepts childFailed flag; when
  abortOnChildFailure is set on the parent the remaining parallel queue is
  abandoned and partial results returned immediately
- abortOnChildFailure option: SpawnParallelTasksTool forwards the flag through
  delegation so callers can opt into fail-fast queue behaviour
- Worktree naming: worktree paths and branches now embed the last 8 chars of the
  parent task ID (e.g. project-a1b2c3d4) instead of a random suffix, making
  manual inspection easy
- Telemetry: six new events — WORKTREE_CREATED, WORKTREE_DELETED,
  WORKTREE_ORPHAN_DETECTED, PARALLEL_TASK_SPAWNED, PARALLEL_TASK_COMPLETED,
  PARALLEL_TASK_CHILD_FAILED — with matching TelemetryService capture methods
- error field on parallelResults items and abortOnChildFailure on HistoryItem
  schema so failure context survives process restarts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 02:23:38 -04:00
..
src feat: parallel task introspection, orphan detection, error handling, and telemetry 2026-04-25 02:23:38 -04:00
CHANGELOG.md Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
eslint.config.mjs Roo Code Cloud (#4069) 2025-05-28 20:43:30 -07:00
package.json Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
tsconfig.json Roo Code Cloud (#4069) 2025-05-28 20:43:30 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00