Files
romm/backend/handler/database
Georges-Antoine Assi 8df91d1c99 fix: don't re-stamp updated_at for unchanged ROMs during scans
bulk_mark_present issued an unconditional UPDATE setting missing_from_fs=False
on every matched row, including rows already present. Since Rom.updated_at has
onupdate=utc_now, every scan re-stamped all skipped/unchanged ROMs of a
platform, defeating updated_after-based incremental consumers and busting every
cover URL (?ts={updated_at}) on each scan.

Mirror the missing-side guard (mark_missing_roms) by restricting the UPDATE to
rows that actually flip via Rom.missing_from_fs.is_(True), so an unchanged
platform issues no updates.

Fixes #3836

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 21:56:00 -04:00
..
2025-09-04 11:17:00 -03:00
2026-03-12 23:02:12 -04:00
2026-04-06 22:29:55 -04:00