temporal
temporal copied to clipboard
1.27.1 - Multiple ChildWorkflowStarted events written for same child workflow
Community thread https://temporalio.slack.com/archives/CTRCR8RBP/p1744049342207489
TS SDK, user starting a number of child workflows async, in scenario where workflow wants to continueasnew and server fails it with UnhandledCommand, server also seems to record a second ChildWorkflowExecutionStarted (seems buffered / resurrected) event to event history after workflow task failure.
Sample event history:
{
"eventId": "4746",
"eventTime": "2025-04-08T13:27:43.099430181Z",
"eventType": "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED",
...
}
{
"eventId": "4751",
"eventTime": "2025-04-08T13:27:43.115638093Z",
"eventType": "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED",
"taskId": "24810703",
"childWorkflowExecutionStartedEventAttributes": {
"initiatedEventId": "4746",
"workflowExecution": {
"workflowId": "example-9205",
"runId": "01961595-d504-72b6-ac7d-b5ca3fdb6489"
},
...
}
{
"eventId": "4855",
"eventTime": "2025-04-08T13:27:43.115638093Z",
"eventType": "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED",
"taskId": "24810959",
"childWorkflowExecutionStartedEventAttributes": {
"initiatedEventId": "4746",
"workflowExecution": {
"runId": "01961595-d504-72b6-ac7d-b5ca3fdb6489"
...
}
{
"eventId": "4907",
"eventTime": "2025-04-08T13:28:23.518183956Z",
"eventType": "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED",
"workflowExecution": {
"runId": "01961595-d504-72b6-ac7d-b5ca3fdb6489"
},
"initiatedEventId": "4746",
"startedEventId": "4855"
...
}
issue seems related to Cassandra 5 which is not supported as of yet