Files
floci/src/main/java
TATSUNO “Taz” Yasuhiro 63a2a60a30 fix(stepfunctions): let a mocked response with no attempts start the execution (#2823)
A MockedResponses entry with no attempt keys was rejected at StartExecution, so a
generated mock file failed the whole execution when the collection it was built from
was empty. Step Functions Local starts the execution and fails it with States.Runtime
only when the state that names the entry is entered.

An empty entry is a lookup that finds nothing, not a malformed entry. Floci already
accepts a mock that defines attempt 1 but not attempt 0 and fails the same way at run
time. Every other malformed entry keeps its 400 at StartExecution, which stays stricter
than Step Functions Local.

Verified against amazon/aws-stepfunctions-local:2.0.0.

Refs #2523
2026-08-31 11:09:43 -04:00
..