Files
romm/backend
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
..
2026-07-19 19:46:28 -04:00
2026-06-21 17:42:25 -04:00
2026-02-09 17:26:21 -05:00
2026-07-16 20:39:54 -04:00
2026-07-01 08:58:00 -04:00
2026-07-19 14:46:47 -04:00
2024-02-10 12:43:39 -05:00
2025-07-05 19:17:40 -04:00
2026-05-17 17:39:47 -04:00
2026-07-18 18:17:45 -04:00
2026-05-22 22:35:30 -04:00