Skip to content

Offline sync: fix conversation segmentation (too many short convos) #5747

Closed

Description

@omi-discord-vector

Problem

Offline sync creates many short conversations instead of using silence/voice detection to properly segment them.

Expected

Offline recordings should segment conversations the same way as live sync:

  • Use silence threshold to end a conversation
  • Use voice detection to start a new one

Actual

Offline sync splits recordings into too many fragments, not reflecting actual conversation boundaries.

Impact

Offline users see fragmented conversation history instead of natural conversation flow like live sync users.

Activity

  1. added
    bug
    capture
    p2
    on Mar 19, 2026
  2. aryanorastar commented on Aug 6, 2026

    @aryanorastar
    Collaborator

    Status check (2026-08-06)

    Verified against main + open work before picking this up again:

    Layer Status
    Parallel assignment race (adjacent chunks each create a convo) Fixed by #7819 (also closed #6551) — chronological turnstile before get_closest_conversation_to_timestamps
    Mild RTC skew + successive ~60s WAL shards → many 1‑min convos In flight on #11094 (#4770/#4771) — batch-shared clock shift so shards stay cohesive
    Live vs offline merge policy (user conversation_creation_timeout vs hardcoded ±2 min on sync) Still a documented residual from #7819; separate follow-up if needed after #11094

    Recommendation: do not open a third PR for the shard-fragmentation symptom — land #11094 first, then reassess whether anything remains for this issue beyond the timeout-policy gap.

    No live device offline-sync repro in this check; structural/unit contracts only.

  3. aryanorastar commented on Sep 20, 2026

    @aryanorastar
    Collaborator

    Closing as already fixed on current main.

    #7819 turnstile on current main; #15106 merged 2026-09-20 atomically assigns synced chunks (incident class #6551/#5747). Competing #14157 closed unmerged.

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

    bugcapturep2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions