-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When workflow level retry expression evaluated False, workflow message is always retryStrategy.expression evaluated to false
regardless of actual failure
#13058
Comments
retryStrategy.expression evaluated to false
regardless of actual failure
Did you mean v3.4.8? or v3.5.6? Because the version you wrote doesn't exist right now |
Sorry, I was meant to add the commit hash for latest. Nothing to do with x.x.8 |
The expression is evaluated regardless of strategy, and should it return false it will do what you're seeing. I'm not sure why this is the first time anyone has noticed this. |
won't this mean the backoff wait is done regardless of retry expression being evaluated to true? argo-workflows/workflow/controller/operator.go Lines 1041 to 1042 in 6201d75
|
Pre-requisites
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.What happened/what did you expect to happen?
When workflow level retryExpression is used.
regardless of workflow succeed or failure,
the message at workflow level is always
retryStrategy.expression evaluated to false
when no expression is used
no more retry left
when expression is used
retryStrategy.expression evaluated to false
retryStrategy.expression evaluated to false
no more retry left
This is problematic if one relies on the workflow message for metrc, analytics or debug.
We expect when expression is used, the workflow level message follows the same pattern as normal retry
Version
v3.5.2, latest (71f1d86)
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: