feat(workflow): support TypeInfo for workflow transitions - #2248
Open
THardy98 wants to merge 5 commits into
Open
feat(workflow): support TypeInfo for workflow transitions#2248THardy98 wants to merge 5 commits into
THardy98 wants to merge 5 commits into
Conversation
THardy98
force-pushed
the
feat/ts-type-hints
branch
2 times, most recently
from
July 23, 2026 16:07
a75d59a to
0049faa
Compare
THardy98
changed the base branch from
main
to
feat/ts-type-hints-workflow-client
July 23, 2026 16:08
This was referenced Jul 23, 2026
THardy98
force-pushed
the
feat/ts-type-hints-workflow-client
branch
from
July 23, 2026 17:06
fa13326 to
fd11f11
Compare
THardy98
force-pushed
the
feat/ts-type-hints
branch
from
July 23, 2026 17:06
0049faa to
a7e4f20
Compare
THardy98
force-pushed
the
feat/ts-type-hints-workflow-client
branch
from
July 23, 2026 17:29
fd11f11 to
d8e2f2e
Compare
THardy98
force-pushed
the
feat/ts-type-hints
branch
from
July 23, 2026 17:29
a7e4f20 to
26a20eb
Compare
THardy98
force-pushed
the
feat/ts-type-hints-workflow-client
branch
from
July 23, 2026 18:42
d8e2f2e to
28b503e
Compare
THardy98
force-pushed
the
feat/ts-type-hints
branch
from
July 23, 2026 18:42
26a20eb to
30a5b48
Compare
THardy98
force-pushed
the
feat/ts-type-hints-workflow-client
branch
from
July 23, 2026 19:40
28b503e to
68c9a75
Compare
THardy98
force-pushed
the
feat/ts-type-hints
branch
from
July 23, 2026 19:41
30a5b48 to
06f4bc8
Compare
THardy98
force-pushed
the
feat/ts-type-hints-workflow-client
branch
from
July 24, 2026 16:52
68c9a75 to
fa07e89
Compare
THardy98
force-pushed
the
feat/ts-type-hints
branch
from
July 24, 2026 16:55
06f4bc8 to
0d30396
Compare
THardy98
marked this pull request as ready for review
August 3, 2026 13:38
THardy98
force-pushed
the
feat/ts-type-hints-workflow-client
branch
from
August 5, 2026 16:26
fa07e89 to
74dfbd7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Closes: N/A
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.
Any docs updates needed? No; documentation will accompany the completed experimental API.