Don't let one rejected sync entry block the whole queue #2

Merged
werring merged 1 commit from fix-sync-queue-head-of-line-block into master 2026-09-20 07:46:10 +00:00
Owner

Previously any push failure (401, unreachable, or a plain rejection
from PocketBase) aborted the entire drain pass, leaving the failing
entry at the head of the queue and stalling every other queued
lesson/exercise/image behind it on every future pass.

Now only auth failures (401) and unreachable-server errors stop the
pass early, since nothing else can succeed in those cases either.
An entry actively rejected by the server is left queued for retry but
no longer blocks the rest of the pass. Sync status still reports
'error' for the pass if any entry failed.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

Previously any push failure (401, unreachable, or a plain rejection from PocketBase) aborted the entire drain pass, leaving the failing entry at the head of the queue and stalling every other queued lesson/exercise/image behind it on every future pass. Now only auth failures (401) and unreachable-server errors stop the pass early, since nothing else can succeed in those cases either. An entry actively rejected by the server is left queued for retry but no longer blocks the rest of the pass. Sync status still reports 'error' for the pass if any entry failed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Don't let one rejected sync entry block the whole queue
All checks were successful
Build and Push Docker Image / build (push) Successful in 30s
c8191ade3f
Previously any push failure (401, unreachable, or a plain rejection
from PocketBase) aborted the entire drain pass, leaving the failing
entry at the head of the queue and stalling every other queued
lesson/exercise/image behind it on every future pass.

Now only auth failures (401) and unreachable-server errors stop the
pass early, since nothing else can succeed in those cases either.
An entry actively rejected by the server is left queued for retry but
no longer blocks the rest of the pass. Sync status still reports
'error' for the pass if any entry failed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
werring merged commit c8191ade3f into master 2026-09-20 07:46:10 +00:00
werring deleted branch fix-sync-queue-head-of-line-block 2026-09-20 07:46:10 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
werring/judo-lesplan!2
No description provided.