Repository navigation
TS SDK: add multi-way branching with dag.switch - #73444
Closed
jason810496 wants to merge 5 commits into
Closed
jason810496 wants to merge 5 commits into
jason810496 wants to merge 5 commits into
Conversation
This was referenced Sep 21, 2026
jason810496
force-pushed
the
feature/ts-sdk/multi-way-branching
branch
10 times, most recently
from
September 27, 2026 13:50
0b24c26 to
f600cfd
Compare
1 task done
jason810496
force-pushed
the
feature/ts-sdk/multi-way-branching
branch
5 times, most recently
from
September 30, 2026 04:12
bc02d90 to
b9993a3
Compare
jason810496
force-pushed
the
feature/ts-sdk/multi-way-branching
branch
from
September 30, 2026 05:12
b9993a3 to
e6303cb
Compare
jason810496
force-pushed
the
feature/ts-sdk/multi-way-branching
branch
from
September 30, 2026 05:57
e6303cb to
7918d19
Compare
1 task done
Member
Author
|
Finished in #74070. |
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.
TS SDK: add multi-way branching with dag.switch
Why
The multi-way form of the same ADR: TypeScript's
switch/case.How
dag.if, the decider is serialized with_can_skip_downstreamand writes theskipmixin_keyXCom, so a cleared case stays skipped.What
dag.switchand the chainableBranch. Unlike a condition'sthen,caseis not a thenable trap, so nothing needs guarding here.Was generative AI tooling used to co-author this PR?