Server-batch recordings still show queued after capture-close jobs complete

Open
#26,392 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
google-cloud, python

Research direction

Start with backend/database/conversation_finalization_jobs.py around the linked server-batch capture close semantics, then review the operational metrics in backend/docs/listen_finalization_jobs.mdx. Trace affected conversations through capture, registration, input commit, transcription and projection receipts, and verify whether Pipeline's SCA-3590 count covers this cohort. Done means a reviewed recovery path preserves source audio and account boundaries, one affected recording and a fresh capture reach usable transcripts and visible notes, and observed drain and deployment evidence are reported.

Written by the indexing model from the issue text.

Description

Verified read-only

A support report described recordings received by the server whose conversation rows continue to project finalization_status=queued. Seven conversation rows in one affected Nov 25 account showed that state. Three matched worker documents all terminated with fanout_status=completed and finalization_outcome=server_batch_capture within six seconds of job creation. The worker success here is a raw-capture handoff, so it does not establish a usable transcript, title, or summary.

A production Firestore COUNT against conversation_finalization_jobs on Nov 26 found 103 queued and 8 leased jobs. This measures worker documents at one point in time. A separate support note estimates at least 1,000 affected conversation rows across at least 46 users. Its cohort, time and status predicate need verification before using it as a fleet count. There is no measured drain ETA.

Investigate

  • Join affected conversations to their accepted batch capture, recording registration, input commit, transcription/result and projection receipts. Identify where the earliest matched cases stop and measure new arrivals versus usable completions.
  • Measure conversation rows projecting queued separately from current worker stock and stratify by bound job outcome or missing job. Track any count of distinct affected owners separately.
  • Confirm whether Pipeline's related SCA-3590 count covers this cohort. Related implementation and constraints
  • Reconcile the stale state with a safe, reviewed path that preserves source audio, account boundaries and existing output. Verify one affected recording and a fresh capture through usable transcript and visible notes, then report observed drain and deployment evidence.

Server-batch capture close semantics · Operational metrics

Private support holds sample bindings. No jobs, source or production configuration were changed.

Dominant language
Python
Stars
14k
Forks
2.7k
Avg merge
9h 19m
Merged PRs (30d)
655

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BasedHardware/omi

All issues in BasedHardware/omi

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.