🔀 Merge remote-tracking branch 'origin/develop'

This commit is contained in:
Luc Didry 2025-01-24 14:07:16 +01:00
commit 4c4d3b69b2
No known key found for this signature in database
GPG key ID: EA868E12D0257E3C
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@
## [Unreleased] ## [Unreleased]
- 🐛 — Fix bug in retry_before_notification logic
## 0.7.1 ## 0.7.1
Date: 2025-01-15 Date: 2025-01-15

View file

@ -56,7 +56,7 @@ def need_alert(
task.contiguous_failures = task.retry_before_notification task.contiguous_failures = task.retry_before_notification
# Severity has not changed, but there has been enough failures # Severity has not changed, but there has been enough failures
# to create a notification # to create a notification
elif task.retry_before_notification == task.contiguous_failures: elif task.retry_before_notification + 1 == task.contiguous_failures:
send_notif = True send_notif = True
return send_notif return send_notif