Files
romm/backend/tests/handler/database
Georges-Antoine Assi 509e4d156d fix(hasheous): keep unverified ROMs that predate a match key
`hasheous_metadata` gains keys as RomM maps more of Hasheous' signature
sources, so rows written before `mame_redump_match` existed don't carry it.
On PostgreSQL `hasheous_metadata->>'mame_redump_match'` is then NULL, the OR
chain over the match flags evaluates to NULL instead of false, and `NOT (...)`
stays NULL: the unverified filter returned nothing for those rows until they
were rescanned.

Each extraction is now coalesced to false. The JSON path is untouched, since
SQLAlchemy compiles `as_boolean()` to a CASE whose ELSE branch already folds a
missing key into false.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-01 19:31:32 -04:00
..
2025-10-23 11:12:17 -04:00
2026-08-01 14:49:58 -04:00
2025-10-23 11:12:17 -04:00