Can you write a python script that re-executes failed step-functions workflows? This…
Jump to turn (12)
- 1Can you write a python script that re-executes failed step-functions workflows?
- 2Can you change it so the stateMachineArn is passed as an argument? Also, I see t
- 3That's great! Can you re-write this code in a more "object-oriented" approach?
- 4That's great! Can you also move the logic to fetch failed workflow, their inputs
- 5Can you also modify the WorkflowRetrier so I can specify a time window from wher
- 6Awesome! Can you modify the retry\all\failed\workflows so all the re-executions
- 7Did you finished?
- 8Can you finish writing the "retry\all\failed\workflows" method?
- 9You still didn't finish writing the method retry\all\failed\workflows. Can you r
- 10Can you also move the call to get\input\for\execution inside the parallel calls?
- 11Awesome! Could you finally write the final version of the WorkflowRetrier class?
- 12Can you then write another python file to re-run workflows using the WorkflowRet
- User
Can you write a python script that re-executes failed step-functions workflows? This script will use argparse to read parameters, will then fetch all the failed workflows, retrieve their inputs and names and then re-execute them by using the same input as the original workflow and the same name but adding a "retry" suffix at the end.
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.