- Fix moveTask to clear status/error/worktree/blockedBy when moving from in-progress to todo/triage - Add error message display in TaskCard for failed tasks with truncation - Add prominent error alert in TaskDetailModal for failed tasks - Refactor usage tracking: move from app/components to dashboard/src/ - Add usage.ts and usage.test.ts for centralized usage tracking - Remove UsageIndicator and useUsageData from app/ directory - Update styles.css for error display components - Update executor tests for error handling - Add changeset for patch release
584 B
584 B
@dustinbyrne/kb
| @dustinbyrne/kb |
|---|
| patch |
Fix "failed" status showing on dashboard for non-failed tasks
When a task failed during execution and was moved from "in-progress" back to "todo" or "triage" for retry, the status and error fields were not being cleared. This caused the dashboard to continue showing the red "failed" badge even though the task was ready for re-execution.
The moveTask function now clears status, error, worktree, and blockedBy fields when moving from "in-progress" to "todo" or "triage", matching the behavior already in place for the "done" column.