Skip to content

Startup sync recovery skips discovery and completed-conversation delivery before any upload #23223

Closed

Description

@aryanorastar

On current main (a8fdd3889d), background startup recovery can reconcile an uploaded WAL to completed without surfacing its returned conversation, and device discovery is skipped until an upload has already set SyncProvider._admittedWorkGeneration. The coordinator starts with that token at -1. Real-provider/coordinator/reconciler regressions reproduce both omissions, plus an old transfer beginning a replacement account's reconciliation after native lease acquisition. A Discord report shows an increasing On the Way list (381 recordings / 42 hours, nine almost ready); the screenshot does not establish this code defect as that account's cause. Related server queue investigation #21943 / PR #21999 addresses a different boundary. Keep the customer incident open until its actual job responses and released-client outcome are verified.

Activity

  1. aryanorastar commented on Oct 26, 2026

    @aryanorastar
    CollaboratorAuthor

    Closing the technical scope as completed / fixed, at Aryan's instruction.

    #23233 merged at 8d75fea2 and is included in released iOS 1.0.575/1.0.576. The a2a16e7 admission commit is part of that same merged PR.

    The coordinator admits recovery before native lease acquisition; discovery and completed-conversation delivery no longer depend on another upload, and account/callback generation fences remain intact. Relevant startup methods, coordinator/reconciler and regressions on main match the verified code. Final-head CI passes; recorded verification includes 45 focused tests and installed-simulator cold startup, reconnect and queued-to-completed delivery before any new upload, with original files retained. No further code gap was identified for this issue; this fix requires no backend or firmware deployment.

    The actual DoubleDown/Beton backlog investigation remains open separately in Aryan's Support tracking. Their job responses, retained audio and corresponding conversations still need verification; Android store coverage is unverified. #21943/#21999 concern a separate server boundary and are not established as these accounts' cause. This closure does not claim customer recordings were recovered. Reopen if that investigation exposes a remaining technical defect.

  2. moved this from Someday to In review in omi TODO / bountieson Oct 26, 2026
  3. aryanorastar commented on Nov 6, 2026

    @aryanorastar
    CollaboratorAuthor

    Follow-up from the original support thread

    The iPhone screenshot showed 381 recordings, 42 hours and nine almost ready in On the Way. The October 22 client log records 2,183 transient status-poll events across 1,092 distinct job references and six completed poll results. One completed result reported a new conversation. The other five had zero new or updated conversations and emitted 15 reconcile_completed_empty events in total, with zero processed or total segments and capacityLimited=false. These are event counts from one log window. Current job state, audio custody and the customer's recovery remain unverified.

    The next diagnostic step is to correlate those five completions with their job results and retained audio using the existing private log. Verify whether the released app reconciles the pending items to the expected conversations or exposes a recoverable outcome. Original Discord thread

    The startup fix in #23233 shipped in iOS 1.0.575 and 1.0.576. This follow-up leaves that completed scope closed. #23561 and merged #23566 address the displayed duration calculation. The separate Android report includes failed recordings and background disconnects. Its installed release coverage and relationship to the iPhone failure are still unverified.

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions