-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor modular pipelines #1941
Closed
Closed
Conversation
This file contains 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
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
ravi-kumar-pilla
changed the title
Refactor Modular/Namespace Pipelines
Refactor modular pipelines
Jun 11, 2024
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
ravi-kumar-pilla
requested review from
rashidakanchwala and
astrojuanlu
as code owners
June 12, 2024 20:21
ravi-kumar-pilla
requested review from
Huongg,
jitu5,
DimedS,
merelcht and
ankatiyar
June 17, 2024 16:06
Hi Team, Please let me know if the split PRs are hard to review. I could not find a better way to split as the initial changes were interlinked. If the PR as a whole is easy to review, I am happy to shift this info to #1897 . Thank you |
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.
Description
Resolves #1899 , #1814
Development notes
To ease review process for - #1897 , created the below PRs
QA notes
Example modular pipeline tree:
Current issues in constructing the modular pipeline tree:
Incorrect rendering of nodes :
Issues raised by users -
viz
#1814How does this PR resolve the issues:
Core parts that changed:
populate_tree
,add_children
,_add_datasets_as_children
,_add_children_to_parent_pipeline
to ModularPipelinesRepository. (Thanks to @rashidakanchwala)populate_tree
to resolve the construction ofmodular_pipelines_tree
for the registered pipelineadd_children
and other helper functionsCode Flow doc:
Please find further information at Refactor_Modular_Pipelines.docx
Modular Pipelines UI Rendering:
UseCase 1: When a modular pipeline output (dataset_3) is used as an input to another function of the same modular pipeline.
Before:
After:
UseCase 2: When a nested modular pipeline output (dataset_3) is used as an input to the outer modular pipeline
Before:
After:
UseCase 3: When a nested modular pipeline output (dataset_3) is used as an input to the outer modular pipeline and also used as an input to another external modular pipeline
Before:
After:
UseCase 4: When an output of a namespace function (using node namespaces) (dataset_7, dataset_9) is an input to another function in the same namespace
Before:
After:
UseCase 5: When an output of a nested modular pipeline (model_inputs) is an input to another nested modular pipeline
Before:
After:
UseCase 6: Nested namespace pipelines with single input (input_to_processing) and single output (output_from_processing)
Before:
After:
Modular Pipelines expand and collapse in action:
Before:
UseCase 1-4:
UseCase 5-6:
After:
UseCase 1-4:
UseCase 5-6:
Checklist
RELEASE.md
file