You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The dependency graph currently accumulates old versios of the nodes (modified and deleted) indefinitely while the Dynamo workspace is running and being edited. This PR aims to clean up old node versions to keep the quadratic complexity of BuildGraphNodeDependencies controlled.
The reason will be displayed to describe this comment to others. Learn more.
The ChildrenNodes and ParentNodes are being rebuilt every time, but before this PR they were accumulating more dependencies each time BuildGraphNodeDependencies was called. So this is more of a bug correction.
The Jira ticket check fails when Jira issue is not part of the PR title, I will do an example fix for you. When Jira issue correctly referenced in PR title, this PR will be linked to Jira task correctly for future reference
QilongTang
changed the title
cleanup dependency graph from old nodes
DYN-8358 cleanup dependency graph from old nodes
Feb 28, 2025
@chubakueno Looking at this again, my wild guess of the PR check failure is that this fork is not up-to-date with master. I decide to trust that you had all the checks passing earlier this week. I am leaning towards that we merge and test the mock cluster placement -> undo repeated to validate it, as you already did locally. @BogdanZavu What do you think?
@chubakueno Looking at this again, my wild guess of the PR check failure is that this fork is not up-to-date with master. I decide to trust that you had all the checks passing earlier this week. I am leaning towards that we merge and test the mock cluster placement -> undo repeated to validate it, as you already did locally. @BogdanZavu What do you think?
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.
Purpose
The dependency graph currently accumulates old versios of the nodes (modified and deleted) indefinitely while the Dynamo workspace is running and being edited. This PR aims to clean up old node versions to keep the quadratic complexity of
BuildGraphNodeDependencies
controlled.Related performance spike: #15864
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
Clean up dependency graph to improve performance and prevent progressive Dynamo slowing down.
Reviewers
@QilongTang
FYIs
(FILL ME IN, Optional) Names of anyone else you wish to be notified of