pub fn reconcile_interrupted_executions(
state: &SharedStepFunctionsState,
) -> usizeExpand description
Abort executions that were RUNNING (or PENDING_REDRIVE) when the server stopped, called once after a persistence snapshot is loaded on startup.
The in-memory interpreter that was driving each one is gone after a restart, so the execution can never advance. Real Step Functions resumes from durable interpreter state; fakecloud can’t, so leaving them RUNNING would strand them forever (DescribeExecution would report RUNNING with no way to ever finish). Aborting with a terminal stop date + error/cause is the honest outcome (bug-audit 2026-06-20, 0.A2). Returns the number reconciled.