Repository navigation
Keep a calendar meeting as one conversation and bound speaker edits - #20903
Merged
Git-on-my-level merged 12 commits intoOct 7, 2026
Merged
Git-on-my-level merged 12 commits into
Git-on-my-level merged 12 commits into
Conversation
Extend meeting-backed continuation through the scheduled end plus grace, observe live speaker collapse, support ranged manual cluster assignments, and show partial capture coverage in mobile details. Failure-Class: none
Read the exact stored calendar event when an existing live row carries its id without the full meeting window. Share this hydration across reconnect, continuation admission and live timeout checks; preserve ordinary boundaries on missing, mismatched or unavailable events. Failure-Class: none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
Live meeting captures no longer split into multiple conversations at every
120-second silence gap when the capture carries a stored calendar meeting:
continuation admission now resolves the meeting window from the row's
calendar_event_idand keeps one conversation through the scheduled end plusa 120-second grace. Non-meeting captures keep the existing 120-second
boundary; device partitioning and empty-generation deletion are unchanged.
Speaker labeling hardening for live rooms: consecutive single-cluster
segments whose voice matches keep rejecting are now observable (metric +
log), and manual speaker assignment supports an optional time-range so a
correction touches the segments the user means instead of silently
rewriting the whole diarized cluster. Whole-cluster assignment remains the
default for compatibility with shipped clients.
Mobile conversation detail shows a "partial recording" note when the row's
capture evidence reports incomplete coverage, via a new optional wire field
(regenerated clients; no existing field narrowed).
Why
A real 120-minute meeting (calendar "Roast & Smoke") captured only its last
8 minutes, and even that window split into two rows at 06:03Z while its
calendar context was attached. Separately, the live speaker pipeline
collapsed the room into one diarized cluster (all matches speaker=0, all
voice matches rejected), and the user's manual re-assignments flipped the
entire cluster — Grant's segments landed on Michael.
Failure-Class
Failure-Class: none
Product invariants affected
pause/suspend/fence behavior changed; continuation and assignment changes
are capture-ownership-neutral.
Line-Count-Exception
Line-Count-Exception: backend/database/conversations.py | 3722 -> 3728 | ranged-assignment writer joins the existing manual assignment persistence; split deferred
Line-Count-Exception: backend/routers/conversations.py | 2275 -> 2284 | assign-speaker route accepts the optional range parameter with compatibility default
Test plan
backend: listen reconnect/continuity, meeting-context wiring, manualspeaker assignment suites (coordinator re-ran: pass)
app: contract + detail tests (one unrelated temp-file flake in theunchanged mic-contention test on the implementer's full run; targeted
rerun passed)
UI-Evidence
UI-Evidence: none -- badge renders only on rows with coverage=incomplete; covered by widget tests, no reproducible production row available in this environment.
Known limitations
~75 minutes" quantification needs span arithmetic on the client and is
deliberately deferred.
range; clients gain the range control in a later PR.
Review round 1 fixes (grok REQUEST CHANGES → addressed)
MAX_CONVERSATION_TIMEOUT_SECONDS(4h) and scheduled event end preferred over duration (976fb39).capture_coverageat the integration trust boundary per the pinned-fields contract (767a80f).Review round 2 fix (grok REQUEST CHANGES → addressed)
title(defaulting to '' when the meeting has none), sostored_meeting_contextand_get_structuredparse the stamped context and finalization no longer fails for captures started during titled meetings (73441e4, four regression tests).