Skip to content

Workflow Command Pagination API#800

Merged
simvlad merged 1 commit into
mainfrom
simvlad/workflow-task-completion-pagination
Jul 7, 2026
Merged

Workflow Command Pagination API#800
simvlad merged 1 commit into
mainfrom
simvlad/workflow-task-completion-pagination

Conversation

@simvlad

@simvlad simvlad commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

What changed?
Added a paginated workflow task completion API:

  • page_number and intermediate_page fields on RespondWorkflowTaskCompletedRequest, letting a workflow task completion be split across multiple "page" requests sharing one task token.
  • workflow_task_completion_pagination namespace capability flag that SDKs must check before sending paginated requests.
  • WorkflowTaskCompletionBufferLostFailure signaling the server dropped buffered pages and the client should resend all pages from page 0.

Why?
Large workflow task completions can exceed request size limits. Pagination lets workers split a single completion across multiple requests.

Breaking changes
None. New fields/messages are additive; pagination is gated behind the namespace capability.

Server PR
temporalio/temporal#10880

@simvlad simvlad requested review from a team June 11, 2026 17:06
@simvlad simvlad marked this pull request as draft June 11, 2026 17:06
@simvlad simvlad marked this pull request as ready for review June 17, 2026 21:45
@simvlad simvlad force-pushed the simvlad/workflow-task-completion-pagination branch from 351022e to f8bb481 Compare June 17, 2026 21:57
Comment thread temporal/api/namespace/v1/message.proto Outdated
@simvlad simvlad force-pushed the simvlad/workflow-task-completion-pagination branch from 09d8dfc to e66b818 Compare July 7, 2026 17:27
@simvlad simvlad enabled auto-merge (squash) July 7, 2026 17:27
@simvlad simvlad merged commit 7dfff2d into main Jul 7, 2026
4 checks passed
@simvlad simvlad deleted the simvlad/workflow-task-completion-pagination branch July 7, 2026 17:30
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.

4 participants