Skip to content

fix(cloud): skip a trophy list or image the server refuses (v0.3.2) - #17

Merged
marcelorsdd merged 2 commits into
mainfrom
fix/sync-skip-refused
Nov 16, 2026
Merged

marcelorsdd merged 2 commits into
mainfrom
fix/sync-skip-refused

Conversation

@marcelorsdd

Copy link
Copy Markdown
Owner

Problem

A console with a large library stopped sending images after about a third of them. The server answered 413 too_large for one image (PS5 4K key art, pic0.png, over the old 16 MiB limit), and CloudClient::Sync returned at the first non-2xx answer. Every image after it never went up, and the console retried the same image every minute.

Fix

  • The console skips a trophy list or image the server refuses for that item alone (400, 409, 413, 415), counts it, logs it and goes on with the rest. Network errors, 401, 429, 5xx and 507 still stop the sync, as before.
  • The server side (private repo, already deployed) now accepts images up to 40 MiB, so 4K key art goes through.
  • SYNC.md documents the behaviour; changelog entry and release commit for v0.3.2.

Tests

  • cloud_client_skips_sets_and_images_the_server_refuses: a refused set and three refused images (413, 415, 409) are skipped; the other set and image are sent.
  • cloud_client_stops_when_the_server_cannot_take_more: 429, 500 and 507 still stop at the first image.
  • make -C payload host-test: 107 tests, 0 failed. PS5 build links; clang-format clean.

This release does not include the save backup work.

The console stopped the whole sync at the first non-2xx answer, so one
image the server refused (413 for 4K key art over the old 16 MiB limit)
blocked every image after it, retried each minute forever. Now 400, 409,
413 and 415 skip that item and the sync goes on; network errors, 401,
429, 5xx and 507 still stop it.
@marcelorsdd
marcelorsdd merged commit 8aa54ef into main Nov 16, 2026
11 checks passed
@marcelorsdd
marcelorsdd deleted the fix/sync-skip-refused branch November 16, 2026 13:28
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