Files
romm/backend/tests
Georges-Antoine Assi 9faec7ef9c refactor: single source of truth for streaming save-state slots
Per-platform slot capabilities were duplicated across the frontend store's
hardcoded platformCapabilities() map and the backend's pydantic Field bounds,
independent of the broker's own ceiling. Consolidate the RomM-side knowledge
into one _PLATFORM_CAPABILITIES table in the streaming endpoint:

- /config now ships each container's capabilities, and the frontend selector
  reads them instead of keeping its own copy.
- The SaveState/LoadState request bounds derive from the table, and the routes
  validate the exact per-platform ceiling before calling the broker (clean 422
  instead of a broker 502).

The broker remains the ultimate enforcer; RomM no longer keeps two independent
hardcoded copies of its slot semantics.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-18 15:49:30 -04:00
..
2026-07-01 08:58:00 -04:00
2026-07-01 10:44:00 -04:00
2026-03-23 16:43:24 -04:00