omi icon indicating copy to clipboard operation
omi copied to clipboard

A conversation stuck in 'processing' shows an indefinite card with no age, error, or way to clear it

Open mikejsmith1985 opened this issue 3 months ago • 1 comments

A "Processing" card has been sitting at the top of my Conversations list indefinitely. There is nothing on my side for it to be processing: the phone mic is muted, my Omi device is powered off, and every recording I had has already synced and become a conversation.

The card is driven entirely by server state — app/lib/providers/conversation_provider.dart:521:

processingConversations = conversations.where((m) => m.status == ConversationStatus.processing).toList();

So this is a conversation the backend still reports as processing and which never moved to completed or failed. Nothing local can clear it, which matches what I see: turning everything off changes nothing.

Two separate things seem wrong.

The record is orphaned. I could not find anything that ages out or fails a conversation left in processing. backend/database/conversations.py:1208 queries them, but nothing I found transitions a stale one to a terminal state, so as far as I can tell it stays that way forever.

The card cannot express it. getProcessingConversationsWidget (app/lib/pages/conversations/widgets/processing_capture.dart:848) renders a shimmer with no age, no error state, no dismiss, and no timeout. Whether processing started thirty seconds ago or five days ago, it looks the same, so a permanently stuck conversation is indistinguishable from one that is genuinely mid-flight. There is no way for me to clear it or find out which it is.

Happy to work on the app-side half — an age or a terminal state after long enough would at least make it legible — but the backend half is the actual defect and I do not know what the intended lifecycle is, so I would rather ask first.

Reading against d60ab7a1c. Investigated with Claude Code; every file:line above was verified against that commit.

mikejsmith1985 avatar Aug 09 '26 16:08 mikejsmith1985

Closing as completed. still OPEN. Reporter called the backend orphan the actual defect (indefinite processing, no lifecycle). origin/main backend/services/conversation_finalization.py:189 reconcile_stale_processing_conversations completes bare-processing orphans, and backend/main.py:473 runs that sweep on the listen-finalization interval (startup drain at backend/main.py:411). No open PR.

aryanorastar avatar Sep 27 '26 05:09 aryanorastar