Skip to content

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

Open
THardy98 wants to merge 5 commits into
feat/ts-type-hints-workflow-clientfrom
feat/ts-type-hints
Open

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

Conversation

@THardy98

@THardy98 THardy98 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

What was changed

Propagated TypeInfo through child Workflow inputs and results and through continue-as-new inputs. Child Workflow functions use definition metadata, string Workflow types can supply call-site metadata, and same-type continue-as-new reuses the current Workflow input metadata.

This is PR 4 and the final layer of the stack; it depends on #2252.

Why?

Typed client start and result paths do not cover serialization boundaries created inside a Workflow. Without this layer, child calls and continued runs fall back to untyped payload conversion.

Continue-as-new accepts input metadata only because the client handle retains the original Workflow result contract across the run chain. Existing Workflows are unchanged; no rollout or manual steps are required.

Checklist

  1. Closes: N/A

  2. How was this tested: Common, Client, Worker, Workflow, and test package builds; ESLint; Prettier; 10 focused unit tests; 4 workflow tests; and all 13 mapper-only JSON integration scenarios.

  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 from fa07e89 to 74dfbd7 Compare August 5, 2026 16:26
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