Open to-lz1 opened 4 years ago
Hello, @to-lz1 Thank you for your report.
I think #825 relates to this issue.
As far as I know, there are some issues around retry behavior. (ex: #1220) The core team is trying to fix these issues.
It's a little complicated to fix them.
@szyn, @yoyama Could you comment when you get a chance?
Digdag version: 0.9.42
We have the
_error
parameter and main tasks in our workflow.example:
In this example, we have an error in the
task2
. And please assume we get some notification from the_error
and usually retry it. However, in retrying the attempt, whether_error
is called again is different depending on our option.If we use
--resume
The workflow failed again, and
_error
parameter is ignored.If we use
--resume-from
The workflow failed again, and operation in
_error
parameter is called.Is this expected behavior? And should we always use
--resume-from
if we want to receive some notification from the_error
parameter in retrying our workflows?