mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-05 18:12:58 +00:00
24c9bfb8f1
A PBS sync that failed after a successful backup left everything green and raised nothing (#1815). A failed sync, verify, prune or GC run is a problem with the datastore, not the guest, so each PBS datastore now carries a pbs_job_failed incident per job whose newest run failed. The existing incident pipeline turns it into a warning alert on that datastore. Backup health lists the same failures under a Datastore jobs heading, and guest counts are unchanged. The poller now carries a job's last completed failure through polls that report no newer outcome (a run in progress, an overdue job, a failed read), so the alert neither flaps nor clears early. Jobs are keyed by family as well as id, and a failed last run outranks overdue. Mock PBS servers report job results, with one failed sync.