Skip to content

Commit

Permalink
Fix instanceId not passed in when using retry (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
jviau authored Aug 28, 2023
1 parent 0188a06 commit 404ad3e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## v1.0.3

### Microsoft.DurableTask.Worker

- Fix instance ID not being passed in when using retry policy (https://github.com/microsoft/durabletask-dotnet/issues/174)

### Microsoft.DurableTask.Worker.Grpc

- Add `GrpcDurableTaskWorkerOptions.CallInvoker` as an alternative to `GrpcDurableTaskWorkerOptions.Channel`
Expand Down
2 changes: 1 addition & 1 deletion src/Worker/Core/RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fix issue with `TaskOrchestrationContext.Parent` not being set.
- Fix instance ID not being passed in when using retry policy (https://github.com/microsoft/durabletask-dotnet/issues/174)
1 change: 1 addition & 0 deletions src/Worker/Core/Shims/TaskOrchestrationContextWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public override async Task<TResult> CallSubOrchestratorAsync<TResult>(
return await this.innerContext.CreateSubOrchestrationInstanceWithRetry<TResult>(
orchestratorName.Name,
orchestratorName.Version,
instanceId,
policy.ToDurableTaskCoreRetryOptions(),
input);
}
Expand Down

0 comments on commit 404ad3e

Please sign in to comment.