Add invariant assertion after reconcile — log if alreadySafe + needBackup ≠ phoneTotal #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The dashboard invariant
alreadySafe + needBackup == phoneTotalcan silently break if a filter mismatch or off-by-one creeps in. Currently there is no runtime check.Fix
At the end of both the fast-path and full-path in
BackupStatusService.reconcile(), assert:Acceptance
.errorlog visible in Console.app