Skip to content

[BUG] Alerting helper doesn't dedupe repeated identical alerts, causing alert fatigue #890

Open

Description

@meshackyaro

Bug Description

The same underlying condition (e.g. "Redis down") re-fires a fresh alert notification on every health-check interval rather than only on state transition.

Component

  • Backend
  • Frontend
  • Smart Contract
  • SDK
  • Documentation
  • Other:

Steps to Reproduce

  1. Stop Redis and watch alerting channel for a sustained period.
  2. Count how many duplicate "Redis down" alerts are sent.
  3. Compare against the health check's polling interval.
  4. Confirm each poll produces a new alert rather than one alert plus periodic reminders.

Expected Behavior

Alerts should fire on state transitions (healthy→unhealthy, and optionally unhealthy→healthy) with infrequent reminders, not on every poll.

Actual Behavior

An alert fires on every single health-check tick for the entire duration of the outage, flooding the alert channel.

Environment

  • Node Version: 20.x
  • OS: Linux / macOS
  • Browser (if applicable): N/A
  • Network (Testnet/Mainnet): Testnet

Error Messages/Logs

N/A — no error output; behavior is incorrect but silent.

Screenshots

N/A — backend/API issue, not applicable.

Additional Context

The alerting helper has no "already alerting for this condition" state tracking.

Possible Solution

Track alert state per condition and only notify on transitions, with an optional periodic "still down" reminder at a much longer interval.

Activity

  1. added
    bug
    difficulty: medium
    priority: medium
    on Oct 29, 2026
  2. maxx-GENIUS commented on Nov 7, 2026

    @maxx-GENIUS

    Hello everyone,

    I reviewed the issue for Alerting helper doesn't dedupe repeated identical alerts, causing alert fatigue. We need to resolve 'alerting helper doesn't dedupe repeated identical alerts, causing alert fatigue' cleanly across the target modules.

    Proposed Implementation:

    1. Trace the current code execution path to isolate the behavior boundary.
    2. Implement a focused, modular fix for 'Alerting helper doesn't dedupe repeated identical alerts, causing alert fatigue' adhering strictly to repository architecture.
    3. Ensure defensive guards and backward compatibility are maintained.

    Testing & Verification:
    I will reproduce the target scenario locally, add regression unit tests, and confirm all CI checks pass 100% green.

    Happy to handle this cleanly. Please assign it over and I'll put together the PR.

  3. ranjan1969x commented on Nov 8, 2026

    @ranjan1969x

    Hello maintainers,

    I reviewed the issue for Alerting helper doesn't dedupe repeated identical alerts, causing alert fatigue. We need to resolve 'alerting helper doesn't dedupe repeated identical alerts, causing alert fatigue' cleanly across the target modules.

    Proposed Implementation:

    1. Trace the current code execution path to isolate the behavior boundary.
    2. Implement a focused, modular fix for 'Alerting helper doesn't dedupe repeated identical alerts, causing alert fatigue' adhering strictly to repository architecture.
    3. Ensure defensive guards and backward compatibility are maintained.

    Testing & Verification:
    I will reproduce the target scenario locally, add regression unit tests, and confirm all CI checks pass 100% green.

    Happy to take this on. Please assign it over and I'll get the PR ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdevopsdifficulty: mediuminfrastructurepriority: mediumreliability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions