Open baranbartu opened 2 years ago
@baranbartu Good improvement. We can add a strategy on retrying whether it needs to retry all or only failed. Do you like to contribute to this enhancement?
Hey @sarabala1979, yes I definitely would like to contribute!
any update on this feature? it does not make sense to retry the success step by default.
any update on this feature? it does not make sense to retry the success step by default.
it seems like the succeeded pod won't rerun...just the dag shows it seems like to be rerun.
Summary
If a template has
retryStrategy
and if one of the steps of the template haswithParam
, the following situation happens;Let's say, we have 4 items
eg. projectIDs: [1,2,3,4]
, and we usewithParam
to make them concurrently run. 3/4 of tasks succeeded and 1/4 of tasks failed. The main template will retry this step again but with all theprojectIDs
, including previously successful ones.If it'd retry only failed ones, then it would make more sense, IMO.
An example piece of template;
Use Cases
I wouldn't want successful tasks to run over and over again. Currently, I am putting extra conditions to prevent any error like
if the project is deployed, skip it
Otherwise, it retries to run deploy-project with aprojectID
that was already installed.Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.