Skip to content

Conversation

mfateev
Copy link
Member

@mfateev mfateev commented Sep 14, 2021

What was changed

DynamicWorkflow was missing appropriate error handling. Moved error handling from POJOWorkflowImplementationFactory to WorkflowExecuteRunnable to cover both POJO and DynamicWorkflow implementations.

Checklist

  1. Closes DynamicWorkflow does not handle ApplicationFailure.newNonRetryableFailure correclty #716
  2. How was this tested: Added a unit test to check that DynamicWorkflow fails correctly.

@mfateev mfateev force-pushed the dynamic_workflow_failure branch from a6db8fe to 6ce166b Compare September 16, 2021 18:12
@Spikhalskiy Spikhalskiy changed the title Dynamic workflow failure Add error handling for dynamic workflow failure Sep 16, 2021
@Spikhalskiy Spikhalskiy merged commit ef1d8f4 into temporalio:master Sep 16, 2021
@mfateev mfateev deleted the dynamic_workflow_failure branch September 16, 2021 18:27
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.

DynamicWorkflow does not handle ApplicationFailure.newNonRetryableFailure correclty

2 participants