Skip to content

Workflow Command Pagination API#800

Draft
simvlad wants to merge 1 commit into
mainfrom
simvlad/workflow-task-completion-pagination
Draft

Workflow Command Pagination API#800
simvlad wants to merge 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
TODO

@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
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.

2 participants