Skip to content

Propose basic session API shape - #893

Merged
THardy98 merged 3 commits into
sticky-activity-session-optionsfrom
session-api-basic-shape
Oct 27, 2026
Merged

THardy98 merged 3 commits into
sticky-activity-session-optionsfrom
session-api-basic-shape

Conversation

@THardy98

@THardy98 THardy98 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

What changed?
Basically just a single field change and some comment changes based on a Notion doc proposal.

Why?

Breaking changes

Server PR

Rename WorkerSessionOptions' oneof to admission, document single-session
binding semantics, and model activity placement as a oneof with an Empty
workflow_session member in place of bool use_workflow_session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@THardy98
THardy98 requested review from a team as code owners October 23, 2026 19:56

@Shivs11 Shivs11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gonna approve this, but just one comment that might need ur attention

Comment thread temporal/api/session/v1/message.proto
Comment thread temporal/api/session/v1/message.proto Outdated
Comment thread temporal/api/session/v1/message.proto
Comment thread temporal/api/session/v1/message.proto Outdated
Comment thread temporal/api/session/v1/message.proto Outdated
Comment thread temporal/api/session/v1/message.proto Outdated
Comment thread temporal/api/session/v1/message.proto
Comment thread temporal/api/session/v1/message.proto Outdated
Comment on lines +44 to +45
// workflow_session requires the activity's task queue to be the workflow's,
// and the workflow's worker to serve sessions.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this should move down to the workflow_sesison field.

Also, to be clear, we do want to allow cross-TQ in the future.

Comment thread temporal/api/session/v1/message.proto Outdated
@THardy98
THardy98 force-pushed the session-api-basic-shape branch from cf720e0 to ededaff Compare October 27, 2026 16:33
@THardy98
THardy98 merged commit d183f54 into sticky-activity-session-options Oct 27, 2026
1 of 2 checks passed
@THardy98
THardy98 deleted the session-api-basic-shape branch October 27, 2026 16:42
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.

3 participants