Skip to content

Commit 9f897a6

Browse files
authored
fix(aci milestone 3): more anomaly detection processing fixes (#95302)
Not sure if the memory location is the cause, but in any case this is the same logic but more reliable.
1 parent b516237 commit 9f897a6

File tree

1 file changed

+1
-1
lines changed
  • src/sentry/seer/anomaly_detection

1 file changed

+1
-1
lines changed

src/sentry/seer/anomaly_detection/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_anomaly_evaluation_from_workflow_engine(
4545
) -> bool | DetectorEvaluationResult | None:
4646
evaluation = None
4747
for result in data_packet_processing_results:
48-
if result[0] == detector:
48+
if result[0].id == detector.id:
4949
evaluation = result[1].get("values")
5050
if evaluation:
5151
return evaluation.priority == DetectorPriorityLevel.HIGH

0 commit comments

Comments
 (0)