Files
RedBear-OS/local
vasilito ad2a8ee15d driver-manager: N20 audit - log silent heartbeat write failures (S6)
Replace three silently-dropped Result cases in heartbeat::write_atomic
(create_dir_all, fs::write, fs::rename) with log::error! diagnostics.
Brings heartbeat.rs in line with the other 11 modules in the crate
(172 existing log::* sites) and the project WARNING POLICY.

Also removes the orphaned temp file when rename fails (e.g. cross-fs
EXDEV) so leftover .tmp files do not accumulate across restarts.

Success-path behavior is unchanged; the 3 existing heartbeat unit
tests still pass.
2026-07-28 06:24:58 +09:00
..