Skip to content

Retry PostSyncer file uploads on 429 - #244

Merged
HarunRRayhan merged 2 commits into
mainfrom
fix/file-upload-429-retry
Oct 26, 2026
Merged

HarunRRayhan merged 2 commits into
mainfrom
fix/file-upload-429-retry

Conversation

@HarunRRayhan

Copy link
Copy Markdown
Owner

PostSyncer throttles media uploads (429 "Too Many Attempts"). Video groups upload video then cover back to back, so the cover got 429 and CM marked the publish uncertain (BV-110, 2026-10-26: video stored as media 255603, cover never sent).

  • Retry the same file on 429 after Retry-After (capped 60 s) or 30/60/60 s backoff, max 180 s per file (job timeout 900 s).
  • A 429 that outlasts the retries is a definitive rejection; on a later file it still lists already-stored media ids.
  • Connection failures and 5xx stay uncertain.
  • 5 new unit tests.

Generated with Claude Code

…certain

PostSyncer throttles media uploads and answers 429 before storing anything.
Video groups upload the video, then the cover, back to back, so the cover hit
429 and the whole publish was marked uncertain (BV-110). Retry the same file
after Retry-After (capped at 60 s) or a 30/60/60 s backoff; a 429 that outlasts
the retries is a definitive rejection.
@HarunRRayhan
HarunRRayhan merged commit 52e03d5 into main Oct 26, 2026
4 checks passed
@HarunRRayhan
HarunRRayhan deleted the fix/file-upload-429-retry branch October 26, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant