Expected Behavior
When activities are using a retry policy and a try/except block is used, the except block code is executed only when the activity has been retried according to the retry policy. So if there is a RetryPolicy with max_number_of_attempts=3, the exception block is ran after 3 activity execution attempts.
Actual Behavior
When activities are using a retry policy and a try/except block is used, the except block code is immediately run once the activity fails. The activity is not being retried.
Steps to Reproduce the Problem
Run this Python app
Release Note
RELEASE NOTE: Workflow respects activity retries when a try/exception block is used.