Files
romm/backend/tests
Alex Castillo González 67a233d65d fix(roms): drop a provider's old metadata when a manual rematch misses (#5841)
* fix(roms): drop a provider's old metadata when a manual rematch misses

Changing a provider id to one the provider cannot resolve kept the typed id
but left the previous game's metadata blob in place for every provider except
RetroAchievements. Apply the RetroAchievements rule to every provider: on a
miss the blob is cleared, unless raw metadata for it came with the same edit.

Fixes #5836

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* pr-ready: code-review

Strip string match ids so a padded Flashpoint id is not read as a rematch
that misses and wipes the stored metadata, and describe the miss case in
the _refetch_changed_matches docstring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
2026-12-02 18:01:34 -05:00
..
2026-03-23 16:43:24 -04:00