[Workflows] Add restart from step options#6718
Conversation
|
The generated output of |
|
I'm Bonk, and I've done a quick review of your PR. This PR adds Issues
This review was generated by an AI assistant and may contain inaccuracies. |
|
I'm Bonk, and I've done a quick review of your PR. The key finding is high severity: the actual implementation in A suggested fix was posted as a PR comment. |
0a08bb5 to
97bb373
Compare
97bb373 to
fabc556
Compare
Merging this PR will not alter performance
Comparing Footnotes
|
Extends WorkflowInstance.restart() to accept an optional from parameter, allowing users to restart a workflow instance from a specific step instead of from the beginning.
await instance.restart({ from: { name: 'aggregate' } });await instance.restart({ from: { name: 'process', count: 3 } });await instance.restart({ from: { name: 'checkpoint', type: 'do' } });