Skip to content

feat(workflow): support TypeInfo for workflow transitions - #2248

Open
THardy98 wants to merge 2 commits into
mainfrom
feat/ts-type-hints
Open

feat(workflow): support TypeInfo for workflow transitions#2248
THardy98 wants to merge 2 commits into
mainfrom
feat/ts-type-hints

Conversation

@THardy98

@THardy98 THardy98 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

What was changed

Added experimental TypeInfo support to Child Workflow calls and continue-as-new. Child Workflows resolve definition-supplied type information or accept it when called by workflow type string; their inputs are encoded and results decoded with it. Same-type continue-as-new reuses the current Workflow's input type information, while transitions to another Workflow type accept explicit input type information.

This PR builds on the Workflow Client TypeInfo support merged in #2252.

Why?

Without this change, type-aware conversion stops at the initial Workflow run. Application values passed to Child Workflows or later runs cannot use the transfer conversion established for Client-started Workflows.

Conversions without TypeInfo are unchanged. No rollout or manual steps are required.

Checklist

  1. Closes: N/A

  2. How was this tested: Workflow and Test builds; 13 focused TypeInfo integration tests; ESLint; Prettier; and ts-prune.

  3. Any docs updates needed? No; documentation will accompany the completed experimental API.

@THardy98
THardy98 force-pushed the feat/ts-type-hints branch 2 times, most recently from a75d59a to 0049faa Compare July 23, 2026 16:07
@THardy98 THardy98 changed the title feat: add TypeInfo support for workflows feat(workflow): support TypeInfo for workflow transitions Jul 23, 2026
@THardy98
THardy98 changed the base branch from main to feat/ts-type-hints-workflow-client July 23, 2026 16:08
@THardy98
THardy98 force-pushed the feat/ts-type-hints-workflow-client branch from fa13326 to fd11f11 Compare July 23, 2026 17:06
@THardy98
THardy98 force-pushed the feat/ts-type-hints branch from 0049faa to a7e4f20 Compare July 23, 2026 17:06
@THardy98
THardy98 force-pushed the feat/ts-type-hints-workflow-client branch from fd11f11 to d8e2f2e Compare July 23, 2026 17:29
@THardy98
THardy98 force-pushed the feat/ts-type-hints branch from a7e4f20 to 26a20eb Compare July 23, 2026 17:29
@THardy98
THardy98 force-pushed the feat/ts-type-hints-workflow-client branch from d8e2f2e to 28b503e Compare July 23, 2026 18:42
@THardy98
THardy98 force-pushed the feat/ts-type-hints branch from 26a20eb to 30a5b48 Compare July 23, 2026 18:42
@THardy98
THardy98 force-pushed the feat/ts-type-hints-workflow-client branch from 28b503e to 68c9a75 Compare July 23, 2026 19:40
@THardy98
THardy98 force-pushed the feat/ts-type-hints branch from 30a5b48 to 06f4bc8 Compare July 23, 2026 19:41
@THardy98
THardy98 force-pushed the feat/ts-type-hints-workflow-client branch from 68c9a75 to fa07e89 Compare July 24, 2026 16:52
@THardy98
THardy98 force-pushed the feat/ts-type-hints branch from 06f4bc8 to 0d30396 Compare July 24, 2026 16:55
@THardy98
THardy98 marked this pull request as ready for review August 3, 2026 13:38
@THardy98
THardy98 requested a review from a team as a code owner August 3, 2026 13:38
@THardy98
THardy98 force-pushed the feat/ts-type-hints-workflow-client branch 2 times, most recently from 4d14dd1 to b029835 Compare August 10, 2026 16:29
@THardy98
THardy98 requested a review from a team as a code owner August 10, 2026 16:29
@THardy98
THardy98 force-pushed the feat/ts-type-hints-workflow-client branch from b029835 to da45938 Compare August 10, 2026 16:46
@THardy98
THardy98 force-pushed the feat/ts-type-hints branch from 0d30396 to 38c2748 Compare August 10, 2026 19:11
Base automatically changed from feat/ts-type-hints-workflow-client to main August 10, 2026 19:19
@THardy98
THardy98 force-pushed the feat/ts-type-hints branch from 38c2748 to 69a06a9 Compare August 11, 2026 09:41
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