Skip to content

[Bounty proposal] fix(backend): deleting a task from a conversation leaves its reminder armed ($25 proposed) #15176

Closed

Description

@kduailabs

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:

To Reproduce

  1. Have a conversation with a task that has a due date in the future (the mobile client then schedules a local reminder).
  2. Delete that task from the conversation detail view (swipe → delete).
  3. The task disappears, but no action_item_delete message 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.

Activity

  1. aryanorastar commented on Sep 21, 2026

    @aryanorastar
    Collaborator

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

    delete_action_item on current main cancels the open dated reminder. Covered by test_conversation_events_bounds.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