You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(saves): classify a 404 as not_found in copy_save_to_slot
copy_save_to_slot landed on main during PR 1's review; its post-preflight
list_saves collapsed every failure onto server_unreachable — the same
conflation this branch removes, which its own new gate now flags.
The call is rom- AND device-scoped, so a definitive 404 is the #1560 family
(dead ROM or dropped device registration): the server answered. Add a sibling
except RommNotFoundError before the catch-all, returning the discriminated
not_found status and persisting the pre-flight-mutated save_state first,
exactly as the server_unreachable branch does — otherwise that work is lost.
The catch-all keeps server_unreachable for genuine transport failures.
Frontend: add the not_found member to CopySaveToSlotStatus and a case in
useCopyToSlot that neither reports the server offline nor claims the game's
saves are gone (the 404 can be the device registration). Tests pin the
backend branch (incl. that the pre-flight timestamp was persisted) and the
copy rule for the new string.
0 commit comments