Open yuhan opened 2 years ago
A more generic solution could be a dynamic error handler / hook that returns the step(s) to rerun. You could provide parameters that are interesting as a basis to decide which step(s) to start with and about each step's state (failed/succeeded/not run), as well as the current number of retries.
Use Case
Run Retry supports two options: "all steps" and "from failure". Consider an option to control exactly where a retry should start from. something like
+failure
.Status-quo:
Maybe:
It could be tricky to design as we need to have a way to say which step has failed, and there could be multiple failed steps.
Ideas of Implementation
thread the reexecution selection into here
Additional Info
Message from the maintainers:
Excited about this feature? Give it a :thumbsup:. We factor engagement into prioritization.