Expected Behavior
When step is configured with at_most_once and retry, it should retry if the step failed without checkpoint (e.g. sandbox crashes).
Actual Behavior
The step is not retried
Steps to Reproduce
- A step that failed at the first invocation without checkpoint failed, simulate lambda env crashes (e.g. System.exit(1)), succeeded on retry.
- The step is configured with
StepConfig.builder()
.semantics(StepSemantics.AT_MOST_ONCE_PER_RETRY)
.retryStrategy((error, attempt) -> {
if (attempt >= 3) return RetryDecision.fail();
return RetryDecision.retry(Duration.ofSeconds(1));
})
.build()
- The re-invocation should failed with
StepInterruptException on first replay because we have at most once configured
- It should be retried
SDK Version
1.1.0
Java Version
21
Is this a regression?
No
Last Working Version
No response
Additional Context
No response
Expected Behavior
When step is configured with at_most_once and retry, it should retry if the step failed without checkpoint (e.g. sandbox crashes).
Actual Behavior
The step is not retried
Steps to Reproduce
StepInterruptExceptionon first replay because we haveat most onceconfiguredSDK Version
1.1.0
Java Version
21
Is this a regression?
No
Last Working Version
No response
Additional Context
No response