File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
apps/webapp/app/v3/services/alerts Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments