Don't let one rejected sync entry block the whole queue #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-sync-queue-head-of-line-block"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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