Describe the bug
When an orchestrator calls callActivityWithRetry with retry options, I would expect that the retryContext in the instance of InvocationContext passed into the activity's handler would not be null.
Expected behavior
I would expect that the retryContext on the instance of InvocationContext passed into the activity would not be null and would be populated with the current retry context.
Actual behavior
The instance of the InvocationContext being passed into the activity has no retryContext even though the activity is being retried.
Describe the bug When an orchestrator calls callActivityWithRetry with retry options, I would expect that the retryContext in the instance of InvocationContext passed into the activity's handler would not be null.
When I run the orchestrator, I see the activity run 3 times as expected, but the retryContext is not present on the context passed into the activity.
Investigative information
To Reproduce Steps to reproduce the behavior:
Code above is a partial example.
A repo with full code example may be found here
Expected behavior I would expect that the retryContext on the instance of InvocationContext passed into the activity would not be null and would be populated with the current retry context.
Actual behavior The instance of the InvocationContext being passed into the activity has no retryContext even though the activity is being retried.