feat(KB-088): clear failed status when moving tasks and improve error display
- 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
This commit is contained in:
9
.changeset/fix-failed-status-clearing.md
Normal file
9
.changeset/fix-failed-status-clearing.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
"@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.
|
||||
Reference in New Issue
Block a user