Skip to content

[Bug]: Grouped alerts get permanently stuck in ALERT state without auto-resolving #2623

Description

@Aryainguz

Describe the Bug

If a grouped alert triggers during a bucket evaluation but the condition subsides in a later bucket within the same execution cycle, the alert fails to auto-resolve. It stays in the ALERT state indefinitely because the history object fails to reset to OK when a bucket drops below the threshold.

Steps to Reproduce

  1. Create a grouped alert with multiple consecutive windows.
  2. Trigger the alert so a group breaches the threshold.
  3. Allow the metric to drop below the threshold.
  4. The alert never fires a "Resolved" notification and remains stuck in the UI.

Expected Behavior

When a group's metric drops below the alert threshold, the history state should reset to OK, which in turn triggers the auto-resolve webhook/notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions