v1.44.1
Graceful worker shutdown now drains already-polled tasks when supported by the server.
When the namespace supports worker poll completion on shutdown, workers now notify the server during shutdown and allow already-polled Workflow, Activity, and Nexus tasks to finish within WorkerStopTimeout. Previously, worker shutdown immediately canceled in-flight polls and could abandon tasks that had already been delivered to the SDK, causing those tasks to be retried or, for workflow tasks, to time out before another worker could continue. Existing shutdown timeout behavior still applies: if work does not complete before WorkerStopTimeout, shutdown proceeds and unfinished work may still be retried by another worker.
Server deployments can enable this capability with frontend.enableCancelWorkerPollsOnShutdown=true.
What's Changed
- Disable gomod version-bump PRs, keep security alerts by @picatz in https://github.com/temporalio/sdk-go/pull/2361
- Shutdown refactor by @yuandrew in https://github.com/temporalio/sdk-go/pull/2368
- remove dead omes job by @THardy98 in https://github.com/temporalio/sdk-go/pull/2372
- Fix shutdown test flake - ensure activity has started by @yuandrew in https://github.com/temporalio/sdk-go/pull/2375
Full Changelog: https://github.com/temporalio/sdk-go/compare/v1.44.0...v1.44.1
Fetched May 29, 2026
