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

Remove workflow timeout type #434

Merged

Conversation

alexshtin
Copy link
Member

@alexshtin alexshtin commented Jun 5, 2020

What changed?

  1. Remove WorkflowExecutionTimedOutEventAttributes.TimeoutType.
  2. Remove ChildWorkflowExecutionTimedOutEventAttributes.TimeoutType.
  3. Split and rename values of WorkflowExecutionFailedCause.

Why?
Workflow timeout type is always StartToClose therefore there is no reason to store it in history.
WorkflowExecutionFailedCause was reused in different request which has different intent and meaning.

How did you test it?
Run tests.

Potential risks
No risks.

@alexshtin alexshtin requested a review from mfateev June 5, 2020 16:18
@alexshtin alexshtin merged commit d287f11 into temporalio:master Jun 5, 2020
@alexshtin alexshtin deleted the feature/remove-workflow-timeout branch June 5, 2020 21:39
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.

None yet

2 participants