Highlights
This release mostly contains changes and fixes for the WorkflowClient
and WorkflowStub
behavior.
Fixes
sticky_cache_size
metric behavior, stale value may be observed before- Fixed a problem with test server not respecting disabled time skipping introduced in 1.9.0
- SDK doesn't log exceptions internally that are getting propagated to the user code anymore
- The behavior of
Workflow#getResult
,WorkflowStub#cancel
andWorkflowStub#terminate
got aligned with their contract for exceptions
What's Changed
- Add documentation to ManualActivityCompletionClient, fix absent service call retries by @Spikhalskiy in #1181
- Polish ConnectedWorkflowServiceStubs method by @GreyTeardrop in #1186
- Fix workflow_active_thread_count, abstract WorkflowThreadExecutor instead of using a broad thread pool by @Spikhalskiy in #1185
- Fix absent request level metrics not logging with incorrectly implemented custom grpc interceptor by @Spikhalskiy in #1188
- Align Test Server direct query behavior with the real server by @Spikhalskiy in #1191
- Local Activity uses Server time and elapsed period to update workflow task timestamp by @Spikhalskiy in #1196
- Make signalWithStart set search attributes if it starts a new execution by @Spikhalskiy in #1199
- Rework async long poll to use the same configuration as the main long poll by @Spikhalskiy in #1204
- Fix Test Server throwing on queries without a deadline by @Spikhalskiy in #1207
- Fix test server with disabled time skipping mode by @Spikhalskiy in #1210
- Make getResult methods to throw TimeoutException instead of raw gRPC DEADLINE_EXCEEDED by @Spikhalskiy in #1209
- Add unit test verifying behavior of finishing Activity with CancellationType=ABANDON if it was canceled by the workflow by @Spikhalskiy in #1217
- Implement firstExecutionRunId attribute in TestServer by @Spikhalskiy in #1225
- Fix WorkflowStub#cancel and WorkflowStub#terminate exceptions contract by @Spikhalskiy in #1218
- Deescalate GrpcRetryer logging to trace level by @Spikhalskiy in #1227
Full Changelog: v1.11.0...v1.12.0