add check for status alerts which are not properly resolved (#1052)

This commit is contained in:
henrygd
2025-09-17 13:31:49 -04:00
parent 1b9e781d45
commit 59057a2ba4
8 changed files with 187 additions and 40 deletions

View File

@@ -1,3 +1,6 @@
//go:build testing
// +build testing
package alerts
import (
@@ -53,3 +56,7 @@ func (am *AlertManager) ForceExpirePendingAlerts() {
return true
})
}
func ResolveStatusAlerts(app core.App) error {
return resolveStatusAlerts(app)
}