mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
The exception allowlist and the meta flag decided the same thing twice. Every terminal path in `scan_platforms` goes through `finish`, so the flag alone records whether the scan spoke for itself, and the allowlist only narrowed that: the setup before the try block has no exit path of its own, so a failure there was filtered out and left the clients showing a scan that no longer exists. Gate on the flag and keep the table for wording, with a fallback so an unlisted exception degrades to a generic reason instead of silence. A user-initiated stop still stays quiet, since the work horse resets SIGTERM to SIG_DFL and never runs the failure callback. Set the flag before the emit to close the window where SIGALRM landing between the two produced the double report the flag exists to prevent, and read it back with `get_meta` rather than a full `refresh`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>