feat: support deletion for memory graph#606
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #606 +/- ##
==========================================
+ Coverage 74.84% 75.11% +0.26%
==========================================
Files 58 59 +1
Lines 5328 5420 +92
==========================================
+ Hits 3988 4071 +83
- Misses 987 994 +7
- Partials 353 355 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Wwwsylvia
reviewed
Sep 25, 2023
Wwwsylvia
reviewed
Oct 9, 2023
Wwwsylvia
reviewed
Oct 9, 2023
Member
|
Can we share the benchmark result here? So that the community understands why we merge |
Contributor
Author
shizhMSFT
reviewed
Oct 10, 2023
Contributor
|
The benchmark looks good to me. We can merge this PR once you have addressed @Wwwsylvia 's comments and above minor comments related to the graphs in the test files. |
Wwwsylvia
reviewed
Oct 13, 2023
Member
Wwwsylvia
left a comment
There was a problem hiding this comment.
Overall LGTM. Some comments may need rephrasing.
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
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.



Signed-off-by: Xiaoxuan Wang wangxiaoxuan119@gmail.com
Part 1/4 of #454
Based on draft PR #582
Current behavior regarding
graph.Memory.Remove(node):nodeentry inm.successorsandm.nodesis removed.nodeis removed from its successors predecessors list.nodeentry inm.predecessorsis NOT removed, unless all its predecessors no longer exist.nodeis NOT removed from its predecessors'm.successorslist. Them.successorsis always in accordance with the actual content.