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

Validation of decision attributes #555

Merged
merged 3 commits into from
Feb 14, 2018

Conversation

samarabbas
Copy link
Contributor

@samarabbas samarabbas commented Feb 11, 2018

Domain on StartChildWorkflowExecution is only used for cross domain
calls. Fixed the incorrect condition on history engine which was
causing panic when domain attribute was not specified. Also added logic
to inherit tasklist, decision timeout and workflow timeout from parent
execution when they are not provided on decision attributes.

Updated ContinueAsNewDecision validation logic to inherit
WorfklowTimeout, Tasklist, DecisionTimeout and WorkflowTimeout from
previous execution.

fixes #554

Domain on StartChildWorkflowExecution is only used for cross domain
calls.  Fixed the incorrect condition on history engine which was
causing panic when domain attribute was not specified.  Also added logic
to inherit tasklist, decision timeout and workflow timeout from parent
execution when they are not provided on decision attributes.
Updated ContinueAsNewDecision validation logic to inherit
WorfklowTimeout, Tasklist, DecisionTimeout and WorkflowTimeout from
previous execution.
@coveralls
Copy link

coveralls commented Feb 12, 2018

Coverage Status

Coverage increased (+0.02%) to 68.458% when pulling ad77d46 on samarabbas:history-panic into 9b56a18 on uber:master.

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.

History service panic
3 participants