pass threshold breaches on rather than reconsructing

This commit is contained in:
Alex Holliday committed 2026-09-24 12:25:22 -07:00
1 parent 21fb320f3a
commit 91de9e7fb7
4 files changed
+39 -88

No files matched your search

+1
View File
@@ -320,6 +320,7 @@ export class WorkerPipeline implements IWorkerPipeline {
decision.incidentReason = "status_down";
decision.notificationReason = "status_change";
} else if (monitor.status === "breached") {
decision.thresholdBreaches = statusChange.thresholdBreaches;
decision.shouldCreateIncident = true;
decision.shouldSendNotification = true;
decision.incidentReason = "threshold_breach";