Skip to content

[Bounty proposal] fix(backend): merging conversations leaves the source tasks' reminders armed ($25 proposed) #15178

Closed

Description

@kduailabs

Product impact

  • Primary loop layer: UX-Polish
  • 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:

To Reproduce

  1. Have two conversations that each contain a task with a future due date (the mobile client schedules a local reminder for each).
  2. Merge them (POST /v1/conversations/merge).
  3. 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.

Activity

  1. aryanorastar commented on Sep 21, 2026

    @aryanorastar
    Collaborator

    Fixed by #15177, merged 2026-09-21.

    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.

  2. moved this from Someday to In review in omi TODO / bountieson Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions