Open andrii-korotkov-verkada opened 1 day ago
Ah, actually it may be not a bug, since it's different conditions. I can see in the logs additional attempts to send on-sync-failed. Let me look more.
Updated screenshot to a proper one.
So it's indeed a bug, it tries to notify after trigger condition was set to false, but then it doesn't change, so no new attempts are made.
Btw, looks like retries are configurable, so this can be helpful https://github.com/argoproj/notifications-engine/blob/master/pkg/services/webhook.go#L87-L89
If anyone picks this up, you can test ArgoCD with your fork's version of notifications engine by using replace directive in go.mod, pointing at your branch and running go mod tidy
. Just submit ArgoCD PR as draft first.
I want to working on it !
Checklist:
argocd version
.Describe the bug
Notifications controller tried to send on deployed signal to the lambda but failed to reach it, which has an error logged. However, on next tries it thinks that the notification has been sent already.
To Reproduce
Configure an invalid destination for notifications and sync the app.
Expected behavior
The controller attempts to send the notification again.
Screenshots
Version
A custom build from recent master + one rbac PR, i.e. 2.14.0-custom-rc.
Logs
See the screenshot above.