From 26f3de0c25c4119bd7de8c99f18c06d9c2694a4a Mon Sep 17 00:00:00 2001 From: Alex Wang Date: Fri, 31 Oct 2025 16:42:47 -0700 Subject: [PATCH] fix: store execution before invoke - persist execution object before we send the invoke request to lambda side --- src/aws_durable_execution_sdk_python_testing/executor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aws_durable_execution_sdk_python_testing/executor.py b/src/aws_durable_execution_sdk_python_testing/executor.py index 15cde1c..d2ff0c6 100644 --- a/src/aws_durable_execution_sdk_python_testing/executor.py +++ b/src/aws_durable_execution_sdk_python_testing/executor.py @@ -646,6 +646,8 @@ async def invoke() -> None: self._invoker.create_invocation_input(execution=execution) ) + self._store.save(execution) + response: DurableExecutionInvocationOutput = self._invoker.invoke( execution.start_input.function_name, invocation_input )