fix: make task panel saves atomic #261

Merged
harivansh-afk merged 2 commits from fix/task-panel-save-atomicity into main 2026-04-25 04:46:02 +00:00
harivansh-afk commented 2026-04-24 15:07:00 +00:00

Summary

  • move task detail updates and reminder writes into a single server-side save action
  • serialize task-panel saves and await close-triggered saves before tearing down panel state
  • add task-panel save helpers and regression tests for atomic save + rollback behavior

Test plan

  • pnpm vitest run tests/lib/task-panel-save.test.ts tests/core/task-detail-save.test.ts tests/core/task.test.ts tests/api/tasks.test.ts
  • pnpm tsc --noEmit
  • Manual verification by the user
## Summary - move task detail updates and reminder writes into a single server-side save action - serialize task-panel saves and await close-triggered saves before tearing down panel state - add task-panel save helpers and regression tests for atomic save + rollback behavior ## Test plan - [x] `pnpm vitest run tests/lib/task-panel-save.test.ts tests/core/task-detail-save.test.ts tests/core/task.test.ts tests/api/tasks.test.ts` - [x] `pnpm tsc --noEmit` - [x] Manual verification by the user
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/delta!261
No description provided.