Files
romm/backend
Sam Dornan 4cddd8e7ee fix(steam): bound each sync's achievement reads and tolerate malformed replies (pr-ready: code-review)
A first sync of a large library read every played game in one task and
could pass the task timeout, losing every read. Each sync now reads up to
100 games and stops after three failures in a row, so Steam outages don't
cost a full retry per game; the next sync carries on from what was stored.

Malformed unlock entries are dropped or coerced so the stored progression
always passes `UserSchema`, and a reply of the wrong shape counts as none.
Completed games are looked up with the library's existing Steam id query.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NH5s4hBCkRF6nyKoFy6MXw
2026-11-02 03:45:10 +00:00
..
2024-02-10 12:43:39 -05:00