[Alerts] Calling alertInstanceFactory and then scheduling no actions causes a recovery notification loop #91047
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
Root cause of #86507 and #91035. When an alert executor calls
alertInstanceFactory
but then fires no actions, the alert seems to perpetually trigger a recovery "status change," and will continue to send notifications over and over.This can be reproduced in 7.11.0 with either the Inventory or Metric Threshold alert types.
A workaround is to only call
alertInstanceFactory
behind a conditional, when you're sure thatscheduledActions
is going to be called. Unfortunately, we don't have an easy linting rule for that, so it would be safer to fix this at the alerting plugin level.The text was updated successfully, but these errors were encountered: