feat: Pipeline editor - Conditional execution - #2574
Conversation
🎩 PreviewA preview build has been created at: |
0d3e9f1 to
c119b29
Compare
The inline comments cover the line-anchored issues. A few findings are cross-cutting or land outside this PR’s diff, so collecting them here. Design consequence — sentinel leaks through
|
|
@Ark-kun most of the Ai's findings above we can address in a follow-up once we have this shipped under a beta flag. I already have some notes and thoughts about how we can improve canvas UX for various conditional states |
camielvs
left a comment
There was a problem hiding this comment.
Let's ship this and I will follow-up with improvements and address the AI review when I have time
camielvs
left a comment
There was a problem hiding this comment.
actually, let's hold for now. I will prioritize checking for an alternative system than annotation-based as it may be irreversivble if we commit now.
Give me a couple days :)
need to do a bit or tech research before verify and accepting this approach
1184413 to
55706d9
Compare
This stack of pull requests is managed by Graphite. Learn more about stacking. |
55706d9 to
de8e0ac
Compare
e4c7524 to
2b3d892
Compare
Adds support for the conditional execution feature (`TaskSpec.isEnabled`). When user selects a Task node, the Config tab in right sidebar allows the user to configure "Enable task": The user can set it to "True" (default) "False" or "Conditional". * True: Unset TaskSpec.isEnabled * False: Set TaskSpec.isEnabled to "false" * Conditional: Adds a new virtual input named "Is enabled?" to the tasks's node visual representation. The user can connect something (task output, graph input) to that input just like with normal inputs. Internally, the connected argument is assigned to the TaskSpec.isEnabled attribute (similar to TaskSpec.arguments["..."]).
2b3d892 to
9c91bfc
Compare
camielvs
left a comment
There was a problem hiding this comment.
Approved as part of the upstream conditional execution stack, which refines the frontend architecture and UX

Description
Adds support for the conditional execution feature (
TaskSpec.isEnabled). When user selects a Task node, the Config tab in right sidebar allows the user to configure "Enable task": The user can set it to "True" (default) "False" or "Conditional".Backend PR: TangleML/tangle#301
Related Issue and Pull requests
Type of Change
Checklist
Screenshots (if applicable)
Test Instructions
Additional Comments