Roo-Code/packages/telemetry/src
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
..
__tests__ feat(telemetry): add app version to exception captures and filter 402 errors (#9996) 2025-12-10 14:06:51 -08:00
BaseTelemetryClient.ts feat(telemetry): add app version to exception captures and filter 402 errors (#9996) 2025-12-10 14:06:51 -08:00
index.ts Roo Code Cloud (#4069) 2025-05-28 20:43:30 -07:00
PostHogTelemetryClient.ts feat: make fork standalone as Moo Code 2026-04-23 08:20:11 -04:00
TelemetryService.ts feat: parallel task introspection, orphan detection, error handling, and telemetry 2026-04-25 02:23:38 -04:00