You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bounty proposal] fix(backend): deleting a conversation leaves its tasks' reminders armed ($25 proposed) #15040
Involves data loss, failed capture, or broken sync/trust
Describe the bug
Deleting a conversation deletes its tasks but leaves their phone reminders scheduled. The app always deletes with cascade=true (deleteConversationServer), and delete_conversation in backend/routers/conversations.py then calls action_items_db.delete_action_items_for_conversation, but never sends the reminder cancel that the Tasks API sends when a task is deleted or completed.
To Reproduce
Record a conversation that produces a task with a due time ("call the dentist tomorrow at 3pm").
Delete the conversation.
Wait for the due time.
Current behavior
The reminder still fires for a task that no longer exists.
Expected behavior
Deleting a conversation cancels the reminders of the open, dated tasks it deletes.
Additional context
Reproduced on origin/main with a router test: deleting a conversation with an open dated task sends no cancel.
Proposing this as a paid bounty ($25) per the contribution docs, @kodjima33. The fix with tests is ready and I'm opening the PR now.
Activity