Files
medusa-store/packages/modules
Adrien de Peretti d7692100e7 chore(orchestration): add support for autoRetry, maxAwaitingRetries, retryStep (#13391)
RESOLVES CORE-1163
RESOLVES CORE-1164

**What**

### Add support for non auto retryable steps.

When marking a step with `maxRetries`, when it will fail it will be marked as temporary failure and then retry itself automatically. Thats the default behaviour, if you now add `autoRetry: false`, when the step will fail it will be marked as temporary failure but not retry automatically. you can now call the workflow engine run to resume the workflow from the failing step to be retried.

### Add support for `maxAwaitingRetries`

When setting `retyIntervalAwaiting` a step that is awaiting will be retried after the specified interval without maximun retry. Now you can set `maxAwaitingRetries` to force a maximum awaiting retry number

### Add support to manually retry an awaiting step

In some scenario, either a machine dies while a step is executing or a step is taking longer than expected, you can now call `retryStep` on the workflow engine to force a retry of the step that is supposedly stucked
2025-09-08 12:46:30 +00:00
..
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00
2025-08-28 22:58:13 +02:00