Repository navigation
Description
Product impact
- Primary loop layer: UX-Polish
- Involves data loss, failed capture, or broken sync/trust
Describe the bug
DELETE /v1/conversations/{conversation_id}/action-items (delete_action_item in backend/routers/conversations.py) deletes the task from the conversation's structured list and mirrors the deletion into the standalone action_items collection, but never sends the reminder-cancel data message.
The mobile client schedules a local notification for a task with a due date and cancels it only when the backend sends the action_item_delete data message (app/lib/services/notifications/action_item_notification_handler.dart → handleDeletionMessage). Both swipe-delete call sites (app/lib/providers/conversation_provider.dart:1579, app/lib/pages/conversation_detail/conversation_detail_provider.dart:311) call deleteConversationActionItem and drop its result, so nothing cancels the notification locally either.
Result: deleting a dated task from the conversation view leaves its reminder armed, and the user gets a reminder for a task that no longer exists.
This is the same failure class already fixed on the sibling paths:
- fix(backend): cancel task reminders when a conversation and its tasks are deleted #15041 — conversation cascade delete (
delete_conversation) - fix(backend): cancel the reminder when the developer API deletes a task #15043 — developer API task delete
- [Bounty proposal] fix(backend): checking off a task inside a conversation leaves its reminder armed ($25 proposed) #14983 / fix(backend): cancel or re-arm a task reminder when it is checked off in a conversation #14984 — checking a task off inside a conversation (the PATCH handler directly above this DELETE in the same file)
- [Bounty proposal] fix(backend): MCP task writes never create, cancel or move phone reminders ($25 proposed) #15028 / fix(backend): keep task reminders in sync when MCP creates, completes, reschedules or deletes a task #15029 — MCP task writes
To Reproduce
- Have a conversation with a task that has a due date in the future (the mobile client then schedules a local reminder).
- Delete that task from the conversation detail view (swipe → delete).
- The task disappears, but no
action_item_deletemessage is sent, so the reminder still fires at due−1h.
Current behavior
No cancel is sent when the task is deleted through this route.
Expected behavior
Deleting the task sends the same reminder cancel the other delete paths send, for every open dated row removed.
Additional context
Reproduced on origin/main with a router test: the mirror loop deletes the row and sync_action_item_reminder is never called. The fix (gated on due_at and not completed, mirroring #15041) with two hermetic regression tests is in PR #15175.
Proposing this as a paid bounty ($25) per the contribution docs, @kodjima33.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn review
Activity
aryanorastar commentedon Sep 21, 2026
Fixed by #15175, merged 2026-09-21.
delete_action_itemon current main cancels the open dated reminder. Covered bytest_conversation_events_bounds.py. Closing as completed.