Files
pulse/internal
rcourtman dc065e75f7 fix: auto-resolve alerts when thresholds increase
Fixes #484

When users increase alert thresholds (either global defaults or
resource-specific overrides), active alerts are now automatically
re-evaluated and resolved if the current metric value is below the
new threshold.

Previously, alerts would remain active even after increasing the
threshold above the current value, requiring manual resolution or
waiting for the metric to drop below the original threshold and
then rise again.

Changes:
- Add reevaluateActiveAlertsLocked() method to check all active
  alerts against updated thresholds
- Call re-evaluation automatically in UpdateConfig()
- Resolve alerts when current value is below new trigger/clear
  threshold
- Handle all resource types: guests (qemu/lxc), nodes, PBS, storage
- Add comprehensive unit tests for threshold update scenarios
2025-10-01 15:02:27 +00:00
..
2025-10-01 11:14:47 +00:00