Conversation
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✏️ Tip: You can disable in-progress messages and the fortune message in your review settings. Tip You can make CodeRabbit's review stricter and more nitpicky using the `assertive` profile, if that's what you prefer.Change the WalkthroughChanges include updates to SQL translation test cases adjusting satisfaction flag computation and edge kind constraints, and a Go refactoring extracting projection and constraint assembly logic into dedicated helper functions within the expansion pattern builder. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
Adds terminal node constraint handling to
buildExpansionPatternStepand refactorsbuildExpansionPatternRootto use some of the same projection and constraint builder helper functions.Using the ad example data zip with this query:
MATCH p = (:GPO)-[:GPLink]->(:Base)-[:Contains*1..]->(t:Base) WHERE COALESCE(t.system_tags, '') CONTAINS 'admin_tier_0' RETURN p LIMIT 1000Before fix:
After fix:
Note: There are still some edges returned that do not have the terminal node constraint upheld in this after fix image. These edges seem to be partial matches of the entire result set and are to be handled as part of this task: https://specterops.atlassian.net/browse/BED-7468
Summary by CodeRabbit
Refactor
Tests