From 60f1df07b15fdf75ffbd5bcc98dcb200e15bfa03 Mon Sep 17 00:00:00 2001 From: rodrigozhou Date: Wed, 2 Oct 2024 12:11:07 -0700 Subject: [PATCH] Fix write start time to execution info --- service/history/workflow/mutable_state_impl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/service/history/workflow/mutable_state_impl.go b/service/history/workflow/mutable_state_impl.go index d6db698350a..9401abc77d9 100644 --- a/service/history/workflow/mutable_state_impl.go +++ b/service/history/workflow/mutable_state_impl.go @@ -310,6 +310,7 @@ func NewMutableState( LastCompletedWorkflowTaskStartedEventId: common.EmptyEventID, + StartTime: timestamppb.New(startTime), VersionHistories: versionhistory.NewVersionHistories(&historyspb.VersionHistory{}), ExecutionStats: &persistencespb.ExecutionStats{HistorySize: 0}, SubStateMachinesByType: make(map[string]*persistencespb.StateMachineMap),