Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add original_start_time to the workflow execution started event #507

Closed
wants to merge 4 commits into from

Conversation

ychebotarev
Copy link
Contributor

@ychebotarev ychebotarev commented Dec 20, 2024

What changed?

Add original_execution_start_time field to WorkflowExecutionStartedEventAttributes.

Why?

To preserve original execution start time. It will be later used to populate extended info for workflow execution during DescribeWorkflow calls.

@ychebotarev ychebotarev requested review from a team as code owners December 20, 2024 22:29
@@ -77,6 +77,10 @@ message WorkflowExecutionStartedEventAttributes {
// This is the run id when the WorkflowExecutionStarted event was written.
// A workflow reset changes the execution run_id, but preserves this field.
string original_execution_run_id = 14;
// This is the start time when the WorkflowExecutionStarted event was written.
// A workflow reset will change execution start time, but will preserve this field.
google.protobuf.Timestamp original_execution_start_time = 34;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this? The event is reused across reset so start event time is the original execution start time.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok great. then we don't need this. closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants