bug: Callback pattern doesn't work correctly #12642
Labels
aws:stepfunctions
AWS Step Functions
status: backlog
Triaged but not yet being worked on
type: bug
Bug report
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
Current Behavior
I implemented two state machines where one state machine (parent) invokes another state machine (child), and I have utilised a callback pattern where Child State Machine will perform
sendTaskHeartbeat
every 30 seconds. Parent State Machine has a heartbeat timeout of 40 seconds.The problem lies in
sendTaskHeartbeat
. It seems like the callback doesn't make it to the parent state machine, which causes the Parent Task to time out after 40 seconds, and thesendTaskHeartbeat
step in Child State Machine fails withSfn.InvalidTokenException
.Here are the definitions.
and
Expected Behavior
It is expected to see
sendTaskHeartbeat
to be successful such that the execution of both Parent and Child State Machine would continue and end up successful instead of timing out.How are you starting LocalStack?
Using
localstack start
Steps To Reproduce
How are you starting localstack (e.g.,
bin/localstack
command, arguments, ordocker-compose.yml
)localstack start
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: