Add message field to lastRetry for conditional retries #9937
Labels
area/retryStrategy
Template-level retryStrategy
area/templating
Templating with `{{...}}`
type/feature
Feature request
Summary
In https://argoproj.github.io/argo-workflows/retries/#conditional-retries,
lastRetry
cannot access workflow error/failure messages such asPod was terminated due to imminent node shutdown
. This request is for adding amessage
onlastRetry
containing this error message.Use Cases
In #9880, we captured preemptions by setting
OnTransientError
andTRANSIENT_ERROR_PATTERN
. However, we would also like to retryOnError
. Using conditional retries, we cannot do both sincelastRetry
does not include amessage
field - e.g.Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: