borg-backup-ui
borg-backup-ui copied to clipboard
Fix stale health state in Unraid dashboard widget cache
The Unraid dashboard widget can overwrite the correct in-app dashboard warning state with stale OK counts.
Observed behavior:
- After service start the widget should become current once the app has status data.
- A backup job is overdue, but the widget initially stays OK.
- After logging into Borg Backup UI, the in-app dashboard and widget show the warning correctly.
- Refreshing the Unraid dashboard widget can switch the widget back to all jobs successful even though the job is still overdue.
Expected behavior:
- The widget cache uses the same backup-overdue classification as the in-app dashboard.
- Startup/background widget refreshes must not downgrade overdue jobs to success.
- The widget should not require a UI login before showing the correct warning state.
Notes: The widget must continue to avoid Borg calls and repository probing from the Unraid dashboard path.