Files
romm/backend/tests/handler/filesystem
Alessandro Digilio 88e3c016f9 fix(sigil): classify routine extraction failures by type (#5304)
* fix(sigil): 🔇 classify routine extraction failures by type

* fix(sigil): log sigil's error message and correct test error codes

pr-ready step 2 (code-review): log the exception text instead of the bare
numeric code, restore the comment on why these failures are routine, use
NEEDS_KEY's real code (-6) in the fixture, and give parametrized cases ids.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor(sigil): split routine and unexpected failures into separate except clauses

pr-ready step 3 (simplify).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(sigil): keep sidecar files away from sigil

Disc sheets, subchannel data and text files beside a ROM never hold a title
id, and sigil fails short ones with the same IO error it raises for real
read failures, so they kept logging at ERROR on every scan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:44:55 -04:00
..