Skip to content

Commit 402a348

Browse files
Alex Wangwangyb-A
authored andcommitted
fix: store execution before invoke
- persist execution object before we send the invoke request to lambda side
1 parent 155070c commit 402a348

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/aws_durable_execution_sdk_python_testing

src/aws_durable_execution_sdk_python_testing/executor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,8 @@ async def invoke() -> None:
646646
self._invoker.create_invocation_input(execution=execution)
647647
)
648648

649+
self._store.save(execution)
650+
649651
response: DurableExecutionInvocationOutput = self._invoker.invoke(
650652
execution.start_input.function_name, invocation_input
651653
)

0 commit comments

Comments
 (0)