The GitHub Actions job "License Checker" on 
hertzbeat.git/fix-alert-group-rule-deleted-npe has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
292c4cc069f97c9539cab5518dcf93431646d5a8 / zjncs <[email protected]>
fix(alerter): fall back to default repeat interval when group rule was deleted

When a converge rule is deleted, renamed or disabled while its group
cache still holds firing alerts, sendGroupAlert looked up the rule and
dereferenced it without a null check. The NPE aborted the
groupCacheMap iteration in runCheckAndSendGroups every check cycle, so
every group ordered after the orphaned one stopped receiving converged
alerts until the process restarted.

Fall back to DEFAULT_REPEAT_INTERVAL, mirroring the null handling that
shouldSendGroup already applies for the group wait and group interval.

Signed-off-by: zjncs <[email protected]>

Report URL: https://github.com/apache/hertzbeat/actions/runs/33834733318

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to