40
// GenerateWorkflowID generates a deterministic workflow ID for a buffered
41
// action by combining the base workflow ID with the truncated nominal time.
43
>
nominalTimeSec := nominalTime.Truncate(time.Second)
44
>
return fmt.Sprintf("%s-%s", baseWorkflowID, nominalTimeSec.UTC().Format(time.RFC3339))
45
>
}
46
47
// GenerateBackfillerID generates a unique ID for a Backfiller component.