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
Involves data loss, failed capture, or broken sync/trust
Describe the bug
The conversation-merge cleanup (_delete_conversation_and_related_data in backend/utils/conversations/merge_conversations.py) deletes every source conversation's action items but never sends the reminder-cancel data message. The mobile client cancels a scheduled reminder only when the backend sends the action_item_delete message (app/lib/services/notifications/action_item_notification_handler.dart → handleDeletionMessage), so after a merge the source tasks' reminders stay armed on the phone.
A merge also processes the new merged conversation, which schedules fresh reminders for its own tasks (_write_action_items → send_action_item_data_message), so the user gets duplicate reminders for the same commitments — plus reminders for tasks the merged extraction dropped.
This is the same failure class already fixed on the sibling paths:
Have two conversations that each contain a task with a future due date (the mobile client schedules a local reminder for each).
Merge them (POST /v1/conversations/merge).
The source conversations and their tasks are deleted, but no cancellation is sent, so the source reminders still fire at due−1h alongside the merged conversation's fresh reminders.
Current behavior
No cancel is sent for the source tasks the merge deletes.
Expected behavior
The merge cleanup sends the same reminder cancel the plain conversation delete sends, for every open dated row it removes.
Additional context
Reproduced on origin/main with a hermetic test over _delete_conversation_and_related_data: the row is deleted and sync_action_item_reminder is never called. The fix with two regression tests is in PR #15177.
Proposing this as a paid bounty ($25) per the contribution docs, @kodjima33.
Conversation merge on current main cancels the source tasks' reminders (sync_action_item_reminder). Covered by test_merge_source_delete_cancels_task_reminders.py. Closing as completed.
Activity
aryanorastar commentedon Sep 21, 2026
Fixed by #15177, merged 2026-09-21.
Conversation merge on current main cancels the source tasks' reminders (
sync_action_item_reminder). Covered bytest_merge_source_delete_cancels_task_reminders.py. Closing as completed.