fix: operation validation false positives#2460
Conversation
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. 💤 Files selected but had no reviewable changes (1)
You can disable this status message by setting the WalkthroughTwo changes to the resolvability graph module: a minor documentation correction hyphenating "short-circuiting" and an extension to path cleanup logic in the entity walker's field propagation method. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2460 +/- ##
===========================================
- Coverage 61.37% 41.81% -19.56%
===========================================
Files 229 998 +769
Lines 23839 138216 +114377
Branches 0 7871 +7871
===========================================
+ Hits 14632 57800 +43168
- Misses 7972 78801 +70829
- Partials 1235 1615 +380
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
composition/src/resolvability-graph/walker/entity-walker/entity-walker.ts (1)
184-193: IncludeselectionPathwhen clearing unresolvable paths.Right now the cleanup ignores the current node path, so nested fields may remove the wrong entries (or leave stale ones) when
relativeOriginPathsis set. This can reintroduce false positives/negatives.🛠️ Suggested fix
- this.removeUnresolvablePaths({ selectionPath: `.${fieldName}`, removeDescendantPaths: true }); + this.removeUnresolvablePaths({ + selectionPath: `${selectionPath}.${fieldName}`, + removeDescendantPaths: true, + });
Router-nonroot image scan passed✅ No security vulnerabilities found in image: |
Summary by CodeRabbit
Bug Fixes
Documentation
✏️ Tip: You can customize this high-level summary in your review settings.
Checklist