Manual finish takes 45-55 s to a summary on v3: where the time goes and what blocks CONVERSATIONS_V3_FAST_FINISH=on
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- gcp, python
- Domain
- backend, performance
Research direction
Start with the producer fence in backend/database/server_batch_audio.py (note_server_batch_audio and close_server_batch_audio) and the two change notes under backend/docs/listen_pusher_pipeline/changes/. The issue sets no single deliverable: it lists a latency target, a set of timing steps, and several blockers that need design decisions first. Treat it as a maintainer-scoped investigation rather than a starter task.
Written by the indexing model from the issue text.
Description
Follow-up to #26192 and #26213 (SCA-3024). Production readback on the owner account (in the v3-fast-finish cohort), 2026-11-24, synthetic speech over /v4/listen, then POST /v1/conversations. Serving: backend and backend-sync at 69ba4fa1f5, backend-integration at 7dbd266e8e, GKE listen at 96f0631.
| Recording | Finish answered | Derived row on Home | Title and summary |
|---|---|---|---|
| 77 s, socket closed 3 s after the finish | processing, 0.7 s |
45 s | 52 s |
| 37 s, socket kept open and streaming | processing, 0.55 s |
46 s | 54 s |
The target the product owner set is 20 to 30 seconds from the finish to the summary. Both cases miss it.
Where the time goes
Seconds after the finish request.
| Step | 77 s recording | 37 s recording |
|---|---|---|
| Session rolls over to a successor recording | not measured (socket closed at 3 s) | 7.8 |
| Audio bounds committed on the row | 4 | 9.6 |
| Record sealed | 12.5 | 16.4 |
| Batch job enqueued | 15.5 | not read |
record_ready_at |
23.7 | not read |
Compute decision / v3_manual_end promoted |
25.7 | 22.5 |
Provisional transcript landed (v3_speech_landed_at) |
37.8 | not read |
| Derived row visible on Home | 45 | 46 |
| Title and summary | 52 | 54 |
No single step dominates. Reaching 20 to 30 s needs several of them shortened:
- The session learns of the finish from its lifecycle poll.
PUSHER_RECORD_CLOSE_NOTIFY_ENABLEDis off, so the commit waits for the next poll and the next frame (0.2 s to 8 s across four runs). - Seal after commit takes about 7 s, and enqueue to
record_ready_atanother 8 s. - The fast first transcript starts only after record admission, about 23 to 26 s after the finish. The provider pass itself took about 12 s for 80 s of audio.
- Reconcile plus outline takes about 8 s, and the summary another 7 s.
What blocks CONVERSATIONS_V3_FAST_FINISH=on
- The cohort has one member. For every other owner a finish in the first minute is still answered
no_contentand ignored, and no fast transcript runs. - Reconnect producer fence.
note_server_batch_audioandclose_server_batch_audiorefuse a row withlisten_batch_produceronce its status leavesin_progress(backend/database/server_batch_audio.py). The serving listen image predatesLISTEN_BATCH_RECONNECT_ENABLED, so mobile rows carry no producer today. When that image ships, the session cannot commit the tail of any finished recording, and #26213 stops admitting first-minute finishes for those rows. This needs the fence to let the owning token write while the row isprocessingand the archive is open, before the listen deploy. - A wait timeout is a counted attempt (#26213 known limit): if frames stop while the socket stays open, the job spends its budget and can dead-letter. It needs a non-counting retry reason with an age bound.
- The limits listed in
backend/docs/listen_pusher_pipeline/changes/2026-11-24-v3-batch-manual-end.mdand2026-11-24-user-finish-first-archive-window.md.
Also seen
- Reconcile failures.
/v1/conversations-v3/reconcileonbackend-syncreturned 500 or 504 for 10.2% of requests on 17cb670 (06:35 to 07:04Z, n=541; 504s ran the full 600 s), 7.4% on 7dbd266 (n=1194) and 2.8% on 69ba4fa (n=72). The 500s sampled on 17cb670 were FirestoreAborted: cross-transaction contentionin the projection commit andv3_processing_not_completed. - Result ready to delivered. For 3,409 committed batch units enqueued 07:08 to 07:14Z, GPU work took p50 3.8 s and the wait from
ready_attodelivered_attook p50 68 s, p90 156 s, with modes at 30 to 40 s and 60 to 70 s. Only 4% were delivered within 20 s. Owners outside the fast-finish cohort wait on this. - Allowance holds are silent. A free owner past the allowance gets
state=allowance_heldwith a 2-houravailable_at. The finish shows Processing and nothing else: no limit message and no upgrade prompt. 104 held units from 7 owners in that same 6-minute sample. backend-syncwas serving 17cb670 (2026-11-22) until 07:05Z today, so the v3 builder ran without #26115, #26121 and #26118 for about 35 hours.
- Dominant language
- Python
- Stars
- 14k
- Forks
- 2.7k
- Avg merge
- 9h 19m
- Merged PRs (30d)
- 655
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BasedHardware/omi
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
BasedHardware/omi#26486 ·
Maintainers usually reply within 1 day
-
chore(gateway): emit INFO budget reserved/settled logs for proactivity v2 (chip task_2855f4ec)Possibly taken @ahmedcompk claimed this 50 days ago. Openbackend
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
BasedHardware/omi#20940 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]: Memory non-active routes lack blank string validation and timezone normalizationPossibly taken @brandonstensby-dotcom claimed this 57 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BasedHardware/omi#20084 ·
Maintainers usually reply within 1 day
-
[Bug]: Memory apply store lacks identifier validation and deletion receipt limit clampingPossibly taken @brandonstensby-dotcom claimed this 57 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BasedHardware/omi#20075 ·
Maintainers usually reply within 1 day
-
[Bug]: Sync backfill sequencer lacks query limit clamping and sequence index boundsPossibly taken @brandonstensby-dotcom claimed this 57 days ago. Open
Difficulty 2/5 1-2 days Newbie friendliness 76/100
BasedHardware/omi#20070 ·
Maintainers usually reply within 1 day
All issues in BasedHardware/omi
Similar issues
-
ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ARTPARK-SAHAI-ORG/calibrate-frontend#919 ·
Maintainers usually reply within 1 day
-
CI: MSYS2 jobs fail — mingw python3 package renamed upstream to pythonPossibly taken @ronaldtse claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
pydantic/pytest-examples#102 · 1 comment ·