You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c62329c
Browse filesBrowse the repository at this point in the historyBrowse files
* feat: gRPC interceptor improvements (channel options, retry policy, custom channel, workerid, thread safety)
- Add GrpcChannelOptions and GrpcRetryPolicyOptions for transport-level
configuration including message size limits, keepalive settings, and
gRPC service-config-based retry policies.
- Add optional channel parameter to TaskHubGrpcClient,
AsyncTaskHubGrpcClient, and TaskHubGrpcWorker for pre-configured
channel passthrough.
- Add optional channel_options parameter to the same classes for
low-level channel customization.
- Expose interceptors, channel, and channel_options on Azure
Managed DurableTaskSchedulerClient, AsyncDurableTaskSchedulerClient,
and DurableTaskSchedulerWorker so custom interceptors can be combined
with the built-in DTS auth interceptor.
- Add workerid (hostname:pid:uuid) gRPC metadata header to Azure
Managed worker calls for improved service-side observability.
- Fix sync AccessTokenManager to use double-checked locking under a
threading.Lock to prevent duplicate token refresh under concurrent load.
- Export GrpcChannelOptions and GrpcRetryPolicyOptions from the
top-level durabletask package.
- Add unit tests covering all new behaviors and backward compatibility.
* fix: address PR review comments
- Track channel ownership in sync/async clients; close() is a no-op
when the channel was provided externally via the channel= parameter.
- Raise ValueError in GrpcRetryPolicyOptions.__post_init__ when either
backoff duration rounds to zero at 9-decimal-place precision, rather
than silently emitting a zero-duration string that gRPC rejects.
* Fix merge issue
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
ADDED
11
11
12
+
- Added `GrpcChannelOptions` and `GrpcRetryPolicyOptions` for configuring
13
+
gRPC transport behavior, including message-size limits, keepalive settings,
14
+
and channel-level retry policy service configuration.
15
+
- Added optional `channel` and `channel_options` parameters to
16
+
`TaskHubGrpcClient`, `AsyncTaskHubGrpcClient`, and `TaskHubGrpcWorker` to
17
+
support pre-configured channel passthrough and low-level gRPC channel
18
+
customization.
12
19
- Added `get_orchestration_history()` and `list_instance_ids()` to the sync and async gRPC clients.
13
20
- Added in-memory backend support for `StreamInstanceHistory` and `ListInstanceIds` so local orchestration tests can retrieve history and page terminal instance IDs by completion window.
0 commit comments