releases.shpreview

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

Full Changelog: https://github.com/temporalio/sdk-go/compare/v1.44.0...v1.44.1

Fetched May 29, 2026