Files
romm/backend/tests/handler
zurdi 9cf751df29 refactor(scan): simplify kept hash-source tags after review
- A kept tag only fills an empty region or language slot: the row's
  value may come from a source the scan didn't ask either (a gamelist),
  and a hash source's old answer mustn't replace it. Fresh answers still
  work as before.
- A rehash that drops the Hasheous match now does so before the tags are
  resolved, so the ROM doesn't take tags from the match it's losing.
- One reader for this scan's blob and the stored one, every tag field
  recorded (empty lists included), and one ordered list of claims instead
  of a dict plus a list.
- The applied sources and the hash sources are ordered in one pass, since
  each pass rereads config.yml, instead of adding a read per ROM.
- Tests: one fixture per lookup, the blob assertion folded into the
  translated-dump test, and new ones for the gamelist case and the
  dropped Hasheous match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:13:42 +02:00
..
2026-03-22 16:30:14 -04:00