[Bug] Alert rule groups block deletion of folders when removed at the same time #1626
Labels
bug
Something isn't working
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe the bug
As folder deletion is not blocked with a finalizer it happens instantly. At this point, the finalizer is no longer able to find the folder and assumes there is nothing to clean up. This results in the folder never getting deleted from the instance
Version
master
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Folder deletion should block until removed from all instances
Suspect component/Location where the bug might be occurring
It's possible to work around this issue in the finalizer of the alert rule group. This however would be very complex as we'd have to re-parse the folders from the Grafana instance
The text was updated successfully, but these errors were encountered: