Repository navigation
Conversation
This was referenced Oct 20, 2026
THardy98
force-pushed
the
dev/sticky-activities-v2
branch
from
October 21, 2026 01:22
f0971e2 to
20d0d89
Compare
THardy98
changed the base branch from
refactor/shared-sticky-poll-admission
to
review/sticky-activity-polling
October 21, 2026 01:22
THardy98
force-pushed
the
dev/sticky-activities-v2
branch
from
October 21, 2026 12:01
20d0d89 to
c454d8f
Compare
THardy98
force-pushed
the
dev/sticky-activities-v2
branch
from
October 21, 2026 13:54
c454d8f to
0de941f
Compare
THardy98
force-pushed
the
dev/sticky-activities-v2
branch
2 times, most recently
from
October 28, 2026 15:02
a87a7c2 to
110e736
Compare
THardy98
force-pushed
the
dev/sticky-activities-v2
branch
from
October 28, 2026 15:47
110e736 to
ae440be
Compare
THardy98
added a commit
to temporalio/sdk-python
that referenced
this pull request
Oct 28, 2026
Pin Core to the rebased session stack (temporalio/sdk-rust#1687 at ae440be3), which adopts temporalio/api#885 at d183f54c. Regenerate the Python protos and encode workflow-session placement as the `workflow_session` Empty field instead of the old bool, which a server built on the new API would otherwise ignore. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
THardy98
force-pushed
the
dev/sticky-activities-v2
branch
from
October 28, 2026 20:17
ae440be to
59f8a8f
Compare
THardy98
added a commit
to temporalio/sdk-python
that referenced
this pull request
Oct 28, 2026
Pin Core to the session stack (temporalio/sdk-rust#1687 at 59f8a8f7), which adopts the session API from temporalio/api#885, regenerate the Python protos, refresh the bridge lockfile, and import Core's release notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
THardy98
force-pushed
the
dev/sticky-activities-v2
branch
from
October 28, 2026 21:08
59f8a8f to
6e88cb5
Compare
THardy98
added a commit
to temporalio/sdk-python
that referenced
this pull request
Oct 28, 2026
Pin Core to the session stack (temporalio/sdk-rust#1687 at 6e88cb53), which adopts the session API from temporalio/api#885, regenerate the Python protos, refresh the bridge lockfile, and import Core's release notes.
Import temporalio/api sticky-activity-session-options at 6811161a3c59c7773ac236dbf9adf9eb359f9288 as an exact subtree snapshot. Register session messages and keep scheduling and poll session options absent until feature plumbing is implemented. git-subtree-dir: crates/protos/protos/api_upstream git-subtree-split: 6811161a3c59c7773ac236dbf9adf9eb359f9288
Replace crates/protos/protos/api_upstream with an exact snapshot of temporalio/api sticky-activity-session-options at d183f54c642fe320218bc3bf8592b2533540f050, which merges the revised session API shape (temporalio/api#893) and current upstream main.
- Activity session placement uses the WorkflowSession variant; options with no placement keep normal task-queue routing instead of failing. - Session workers send WorkerSessionOptions on sticky polls, advertising that they can serve sessions.
Session workflows should only run, including replay, on workers that serve sessions; replaying elsewhere silently drops the activity affinity the workflow expects. Validate workflow-session activities during replay too, and keep the replay worker's session options instead of clearing them, so a replay worker without session options fails the workflow task.
THardy98
force-pushed
the
dev/sticky-activities-v2
branch
from
October 29, 2026 18:02
6e88cb5 to
e3b2642
Compare
This branch has not been deployed
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 was changed
SingleSessionOptions { stable_identity }: the worker polls only its sticky queues, named bystable_identity, for workflow and activity tasks.WorkerSessionOptionsis sent on workflow and activity polls so the server can bind the worker to one workflow for its lifetime.stable_identitymust be non-empty; single-session workers may use one fixed activity slot (paired mode still needs two).Why?
Worker-workflow binding for the AgentCore demo: a workflow stays on one worker identity across restarts. Stacked on #1691.
Checklist
shivam/agentcore-single-session)