fix: Properly indicate DeleteAllGraph when selected in DB Management - BED-8799#2937
fix: Properly indicate DeleteAllGraph when selected in DB Management - BED-8799#2937StephenHinck wants to merge 4 commits into
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
🚧 Files skipped from review as they are similar to previous changes (6)
📝 WalkthroughWalkthrough
ChangesallGraphData selection and delete request flow
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai full review |
✅ Action performedFull review finished. |
Description
Properly sends the deletion request with
DeleteAllGraph true, rather than including a list of all source kinds when "Delete all graph data" is checked.Additionally, enforced the uniqueness at the API layer such that a user may not request AllGraphData AND sourcekinds or relationships in the same payload, since AllGraphData includes all sources and relationships.
Motivation and Context
Resolves BED-8799
Why is this change required? What problem does it solve?
How Has This Been Tested?
Validated locally, added additional test cases.
Screenshots (optional):
Types of changes
Checklist:
Summary by CodeRabbit