Add stable destinations and lifetime single-session isolation by THardy98 · Pull Request #1687 · temporalio/sdk-rust · GitHub
Skip to content

Add stable destinations and lifetime single-session isolation - #1687

Draft
THardy98 wants to merge 1 commit into
review/sticky-activity-pollingfrom
dev/sticky-activities-v2
Draft

THardy98 wants to merge 1 commit into
review/sticky-activity-pollingfrom
dev/sticky-activities-v2

Conversation

@THardy98

@THardy98 THardy98 commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Stack

Stacked on activity-only #1691 (which depends on extraction #1686). The existing branch name dev/sticky-activities-v2 is retained to preserve this PR.

Published commit: 20d0d89, exactly one commit above review/sticky-activity-polling at 3b8e0ca. This PR targets that branch and shows only the incremental stable-destination/isolation layer.

Incremental scope

  • Optional stable sticky destination shared by workflow and session activity polling.
  • Sticky-only construction in lifetime single-session mode, with no independent normal pollers or ratio splitting.
  • WorkerSessionOptions on both poll request types.
  • Eager workflow starts disabled in single-session mode so they cannot bypass binding.
  • Replay clears runtime-only placement options.
  • Fixed activity capacity one is allowed in sticky-only mode; paired mode still requires two.

This layer does not restore resource-based activity support or the removed polling-plan/source abstractions. The design document remains local-only. No broader session API redesign is included.

Validation

Preservation

backup/session-affinity-before-restack preserves the old published f0971e2 revision used by Python #1979. Python is unchanged by this restack and still needs a later pin update.

Open in Delta

@THardy98 THardy98 changed the title Add activity sessions on shared sticky polling Add stable destinations and lifetime single-session isolation Oct 21, 2026
@THardy98
THardy98 force-pushed the dev/sticky-activities-v2 branch from f0971e2 to 20d0d89 Compare October 21, 2026 01:22
@THardy98
THardy98 changed the base branch from refactor/shared-sticky-poll-admission to review/sticky-activity-polling October 21, 2026 01:22
@THardy98
THardy98 force-pushed the review/sticky-activity-polling branch from 3b8e0ca to e31a5ee Compare October 21, 2026 12:01
@THardy98
THardy98 force-pushed the dev/sticky-activities-v2 branch from 20d0d89 to c454d8f Compare October 21, 2026 12:01
@THardy98
THardy98 force-pushed the review/sticky-activity-polling branch from e31a5ee to 2981b56 Compare October 21, 2026 13:54
@THardy98
THardy98 force-pushed the dev/sticky-activities-v2 branch from c454d8f to 0de941f Compare October 21, 2026 13:54
@THardy98
THardy98 force-pushed the review/sticky-activity-polling branch from 2981b56 to c6cab4e Compare October 22, 2026 02:44
@THardy98
THardy98 force-pushed the dev/sticky-activities-v2 branch from 0de941f to a87a7c2 Compare October 22, 2026 02:44

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant