Files
romm/backend
Georges-Antoine Assi afa38d1df1 refactor(scan): run a title-ids scan through the quick-scan file refresh
A quick scan already re-reads the title id of every existing rom through
refresh_rom_files, keeping stored hashes for unchanged files. A title-ids
scan now takes the same branch instead of the full _identify_rom and
scan_rom path, which drops its special cases in _should_get_rom_files,
_should_extract_title_ids, _should_hash_incrementally, the resource
short-circuit, the scan_rom base-field list and the similarity guard.

refresh_rom_files gains what that path gave the scan:
- an opt-in embed_title_ids, so EMBED_SWITCH_TITLE_IDS still renames
- persisting a reused row whose category extraction settled, which a quick
  scan dropped before because only new, changed or removed rows were synced
- identity_changed on the result, so an id-only change counts as updated

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 11:45:50 -04:00
..
2024-02-10 12:43:39 -05:00
2025-07-05 19:17:40 -04:00