Skip to content
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

Perf Refactor: Some parent nodes don't load children #680

Conversation

james-union
Copy link
Contributor

https://github.com/unionai/cloud/issues/1645

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

Remove the 'fixes' keyword if there will be multiple PRs to fix the linked issue

fixes https://github.com/flyteorg/flyte/issues/

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

@james-union james-union self-assigned this Feb 7, 2023
for (const executionId in allExecutions) {
const execution = allExecutions[executionId];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's keep the dynamicExecution name, so we don't trigger the changes here, and executionsByNodeId can be transformed to dynamicExecutionsByNodeId

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olga-union. As this execution can be dynamic or static, so I don't think we can name it as dynamicExecution.

@jsonporter jsonporter merged commit ac27601 into olga-union/execution-view-refactor Feb 10, 2023
@jsonporter jsonporter deleted the james/execution-view-refactor-bug branch February 10, 2023 17:06
jsonporter pushed a commit that referenced this pull request Feb 14, 2023
fix: checkForDynamicExecutions
Signed-off-by: Jason Porter <jason@union.ai>
jsonporter added a commit that referenced this pull request Feb 14, 2023
* fix: execution view children fetch on demand refactor

Signed-off-by: Olga Nad <olga@union.ai>
Signed-off-by: Jason Porter <jason@union.ai>

* fix: incorrect import

Signed-off-by: Olga Nad <olga@union.ai>
Signed-off-by: Jason Porter <jason@union.ai>

* chore: fix expander bug (#677)

* chore: fix expander bug

Signed-off-by: Carina Ursu <carina@union.ai>

* chore: add await everywhere

Signed-off-by: Carina Ursu <carina@union.ai>

---------

Signed-off-by: Carina Ursu <carina@union.ai>
Signed-off-by: Jason Porter <jason@union.ai>

* fix: toggle in timeline

Signed-off-by: Olga Nad <olga@union.ai>
Signed-off-by: Jason Porter <jason@union.ai>

* fix: checkForDynamicExecutions

Signed-off-by: Jason Porter <jason@union.ai>

* Revert "fix: checkForDynamicExecutions"

This reverts commit 450d144.

Signed-off-by: Jason Porter <jason@union.ai>

* Perf Refactor: Some parent nodes don't load children (#680)

fix: checkForDynamicExecutions
Signed-off-by: Jason Porter <jason@union.ai>

* chore: simplify graph code

Signed-off-by: Carina Ursu <carina@union.ai>
Signed-off-by: Jason Porter <jason@union.ai>

* adding util

Signed-off-by: Jason Porter <jason@union.ai>

* Changing type

Signed-off-by: Jason Porter <jason@union.ai>

* Updated click handlers

Signed-off-by: Jason Porter <jason@union.ai>

* Fixed graph dynamic node issue

Signed-off-by: Jason Porter <jason@union.ai>

* Key was not a valid prop in this case, removed

Signed-off-by: Jason Porter <jason@union.ai>

* chore: fix tests

Signed-off-by: Carina Ursu <carina@union.ai>
Signed-off-by: Jason Porter <jason@union.ai>

---------

Signed-off-by: Olga Nad <olga@union.ai>
Signed-off-by: Jason Porter <jason@union.ai>
Signed-off-by: Carina Ursu <carina@union.ai>
Co-authored-by: Carina Ursu <carina@union.ai>
Co-authored-by: James <james@union.ai>
Co-authored-by: james-union <105876962+james-union@users.noreply.github.com>
Co-authored-by: Jason Porter <jason@union.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants