-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
area/retryStrategyTemplate-level retryStrategyTemplate-level retryStrategyarea/templatingTemplating with `{{...}}`Templating with `{{...}}`type/featureFeature requestFeature request
Description
Summary
In https://argoproj.github.io/argo-workflows/retries/#conditional-retries, lastRetry
cannot access workflow error/failure messages such as Pod was terminated due to imminent node shutdown
. This request is for adding a message
on lastRetry
containing this error message.
Use Cases
In #9880, we captured preemptions by setting OnTransientError
and TRANSIENT_ERROR_PATTERN
. However, we would also like to retry OnError
. Using conditional retries, we cannot do both since lastRetry
does not include a message
field - e.g.
retryStrategy:
limit: "3"
expression: "lastRetry.status == 'Error' || lastRetry.message.contains('imminent node shutdown')"
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
tico24, caelan-io, mostaphaRoudsari, weretheone and kalb1
Metadata
Metadata
Assignees
Labels
area/retryStrategyTemplate-level retryStrategyTemplate-level retryStrategyarea/templatingTemplating with `{{...}}`Templating with `{{...}}`type/featureFeature requestFeature request