Skip to content

Commit e5ed6aa

Browse files
committed
Devin fix
1 parent 978fe35 commit e5ed6aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/webapp/app/v3/services/alerts/errorAlertEvaluator.server.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,6 @@ export class ErrorAlertEvaluator {
144144
}
145145
}
146146

147-
const stateUpdates = alertableErrors.filter(
148-
(a) => a.classification === "regression" || a.classification === "unignored"
149-
);
150-
await this.updateErrorGroupStates(stateUpdates, stateMap);
151-
152147
for (const alertable of alertableErrors) {
153148
const envChannels = channelsByEnvId.get(alertable.error.environment_id) ?? [];
154149
for (const channel of envChannels) {
@@ -176,6 +171,11 @@ export class ErrorAlertEvaluator {
176171
}
177172
}
178173

174+
const stateUpdates = alertableErrors.filter(
175+
(a) => a.classification === "regression" || a.classification === "unignored"
176+
);
177+
await this.updateErrorGroupStates(stateUpdates, stateMap);
178+
179179
logger.info("[ErrorAlertEvaluator] Evaluation complete", {
180180
projectId,
181181
activeErrors: activeErrors.length,

0 commit comments

Comments
 (0)