URL/Location
No response
Describe What's Incorrect or Lacking
describe how StopDurableExecution impacts running invocations vs executions.
aws/aws-durable-execution-sdk-python#339
StopDurableExecution API.
This will stop the durable execution, but it does not stop the current Lambda invocation. Once the durable execution is stopped, it will not accept any more checkpoints (not even SUCCEEDED/FAILED, the operation will remain STARTED). Lambda does not have a way to stop currently running Lambda functions.
If your Lambda code is already running, let's say it's in a step or a child context doing some work, this will keep running until it hits the next checkpoint, at which point it will raise an invocation error and stop the current invocation. This is likely to be at the end of current block of code, once it tries to checkpoint the result of that code.
Suggested Improvement
No response
Additional Context
No response
URL/Location
No response
Describe What's Incorrect or Lacking
describe how StopDurableExecution impacts running invocations vs executions.
aws/aws-durable-execution-sdk-python#339
StopDurableExecution API.
This will stop the durable execution, but it does not stop the current Lambda invocation. Once the durable execution is stopped, it will not accept any more checkpoints (not even SUCCEEDED/FAILED, the operation will remain STARTED). Lambda does not have a way to stop currently running Lambda functions.
If your Lambda code is already running, let's say it's in a step or a child context doing some work, this will keep running until it hits the next checkpoint, at which point it will raise an invocation error and stop the current invocation. This is likely to be at the end of current block of code, once it tries to checkpoint the result of that code.
Suggested Improvement
No response
Additional Context
No response