// Called when an activity leaves the started state (retry, pause, etc.) so that stale
// values from the previous attempt don't leak into the next one.
ai.StartedEventId = common.EmptyEventID
ai.StartVersion = common.EmptyVersion
ai.RequestId = ""
ai.StartedTime = nil
ai.StartedClock = nil
}
func UpdateActivityInfoForRetries(