Add retry to workflow steps @samtholiya (#1373)
## what- We are providing users with the ability to retry the workflow steps for cases where they fail with error.
- We area also providing preliminary code for retrying the Function only in certain casees.
why
- This will help the customers to not be frustrated by commands that fail.
** Important backwards Compatibility
This update limits alll tasks to a max of 30 min default.
Future
- We should provide user with a way so that they can provide us some context of when to retry. Which error should the retry happen.
references
Summary by CodeRabbit
Summary by CodeRabbit
-
New Features
- Added configurable retry support for workflow command steps, enabling automatic retries with customizable parameters including maximum attempts, backoff strategies (constant, linear, exponential), delays, jitter, and maximum elapsed time.
-
Documentation
- Enhanced workflow documentation with a new section on retry configuration, providing detailed explanations and examples for retry parameters.