Files
Pulse/internal/models
rcourtman 24c9bfb8f1 Alert on failed PBS datastore jobs, apart from guest health
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.
2026-11-03 10:30:02 +00:00
..
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00