From 63a20dcc95f6424e8811343261d17ffdcea84fdb Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sat, 17 Oct 2026 11:49:28 -0400 Subject: [PATCH] =?UTF-8?q?chore(db):=20sqlc=20regen=20=E2=80=94=20querier?= =?UTF-8?q?=20interface=20comment=20for=20the=20flush-enumerator=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/database/querier.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/database/querier.go b/internal/database/querier.go index 85be4d40..2f64b511 100644 --- a/internal/database/querier.go +++ b/internal/database/querier.go @@ -463,6 +463,9 @@ type Querier interface { ListMediaItemsMissingHash(ctx context.Context) ([]MediaItems, error) ListMediaItemsSorted(ctx context.Context, arg ListMediaItemsSortedParams) ([]ListMediaItemsSortedRow, error) ListPendingHashConflicts(ctx context.Context) ([]ListPendingHashConflictsRow, error) + // DeviceID NULL = every device's pending items (the queue processor's + // enumerator passes NULL; a bare `device_id = NULL` never matches, which + // silently disabled the offline flush until 2026-10-17). ListPendingSyncQueueItems(ctx context.Context, arg ListPendingSyncQueueItemsParams) ([]SyncQueue, error) ListProcessingIssuesByLibrary(ctx context.Context, libraryID pgtype.UUID) ([]ListProcessingIssuesByLibraryRow, error) ListSyncConflictsByMediaItem(ctx context.Context, arg ListSyncConflictsByMediaItemParams) ([]SyncConflicts, error)