temporal icon indicating copy to clipboard operation
temporal copied to clipboard

StartTime is used as LastHeartbeatUpdateTime

Open yiminc opened this issue 3 years ago • 1 comments

For activity that never heartbeat, if you DescribeWorkflow the PendingActivity will have LastHeartbeatUpdateTime set to same value as StartTime. It should be nil if it never received a heartbeat.

yiminc avatar Sep 09 '22 22:09 yiminc

Looks like the bug is here: https://github.com/temporalio/temporal/blob/09c2051766959716bc80ddc2bdf932c411b046a0/service/history/workflow/mutable_state_impl.go#L2049

And maybe elsewhere. I can take a look if you'd like

MichaelSnowden avatar Sep 10 '22 00:09 MichaelSnowden