pushed
subh05sus/sparkmentis-superadmin • 5:34 PM - Aug 12, 2026
We updated the tenant backup API to run a cleanup of stale, dead jobs whenever the backup list is requested. Previously, if a backup agent crashed before its first heartbeat, it would sit in a 'PENDING' state indefinitely, blocking new backups and silently disabling the system until the nightly cron job ran. This change ensures that dead jobs are cleared immediately upon access, preventing service disruption. 
