Repository navigation
Record the bound worker's queue in SessionInfo - #927
Merged
Shivs11 merged 1 commit intoNov 25, 2026
Merged
Conversation
History has no other record of the bound worker's sticky queue, so the server needs it to restore a binding when it rebuilds a workflow from history (reset, event-based replication) and to carry it to the next run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
THardy98
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed?
SessionInfo.worker_queue: the sticky queue of the worker a workflow is bound to (stable identity for single-session, worker instance key for multi-session).Why?
History has no other record of the bound worker's queue: the workflow task that binds a worker is scheduled on the normal queue, the started/completed events carry no queue, and the started event's
task_queueis the workflow's normal queue that SDKs read. Without it, a reset to the binding task or a continue-as-new/retry rebuild loses the binding. Written only on history events; read only when the server rebuilds state from them.Breaking changes
None. New experimental field on top of #885.
Server PR
To follow, with the session stack.