Expected Behavior
Regardless of what is set in temporal.RetryPolicy, NewNonRetryableApplicationError should not be retried
Actual Behavior
NewNonRetryableApplicationError returned by activities are still being retried.
Steps to Reproduce the Problem
- Create a workflow with
RetryPolicy: &temporal.RetryPolicy{}
- Create an activity that returns
temporal.NewNonRetryableApplicationError
- Execute the workflow
Specifications