(aws-stepfunctions-tasks StepFunctionsStartExecution): (allow redrive instead of retry)
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the feature
Currently, we're able to add retries when we use a StepFunction to start another StepFunction. [Redrive](https://docs.aws.amazon.com/step-functions/latest/dg/redrive-executions.html) has recently been implemented for StepFunction executions, and it would be great if instead of retrying to whole StepFunction execution, we could redrive instead.
### Use Case
It's frustrating when a StepFunction execution fails in the last task and may take a long time to rerun everything. This would eliminate that extra time and resources and allow the StepFunction execution to continue where it failed.
### Proposed Solution
In the `.retry` method, add an option for `redrive=True`
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CDK version used
v2
### Environment details (OS name and version, etc.)
Ubuntu 20.04.5
Contributor guide
Research direction
Start at the StepFunctionsStartExecution construct and its .retry method, then read the linked AWS redrive executions documentation to understand the requested behavior. The work is complete when the retry configuration can request redrive instead of retrying the whole execution, with the corresponding behavior covered by the project’s tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100