-
Notifications
You must be signed in to change notification settings - Fork 56
scope uniqueness constraints to specific objects #10053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+3,090
−379
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
7cd4a9e
move NodeDiffIndex component
ajtmccarty cd8f003
move existing uniqueness queries into dir
ajtmccarty f5da58d
add targeted uniqueness validation query
ajtmccarty c32e235
add uniqueness dependent resolver
ajtmccarty d31eb52
add node_uuids to NodeDiffFieldSummary
ajtmccarty 38e6b1c
add test for uniqueness on migrated-kind schema on branch
ajtmccarty 517c77a
Merge pull request #9994 from opsmill/ifc-2796-node-scope-uniqueness
ajtmccarty a14b418
refactor(backend): batch node-scoped uniqueness checks and simplify U…
ajtmccarty 81908cb
retrieve UUIds in NodeDiffFieldSummary
ajtmccarty f096473
add UniquenessConstraintScoper
ajtmccarty 0b49394
update ConstraintValidatorDeterminer with new components
ajtmccarty 87a8d52
add uniqueness constraints to ConstraintIdentifier enum
ajtmccarty 7563e6f
add uniqueness constraints deduplicator
ajtmccarty 5cfaad6
add ConstraintInfoMerger
ajtmccarty 7bd6ceb
pass node_uuids for constraints through PC pipeline
ajtmccarty 79eb72c
build and pass constraint classes through rebase flow
ajtmccarty 5bf5e60
update PC pipeline tests
ajtmccarty 57f47ca
update MergeConstraintValidator
ajtmccarty 77b106c
formatting
ajtmccarty 8fd2de5
fix uniqueness constraint test expectations for node_uuids field
ajtmccarty e479df1
render targeted uniqueness values as strings in error paths
ajtmccarty e436def
reset uniqueness scoper cache when determiner re-initializes
ajtmccarty 3c01c9c
fall back to full-population scan for peer-attribute uniqueness
ajtmccarty 7a09ce8
scope uniqueness validation to the nodes that changed each field
ajtmccarty 25fbe7f
consolidate chunks
ajtmccarty 38ff202
comment -> docstring
ajtmccarty cb8356e
remove accidental PR_DESCRIPTION.md
ajtmccarty a0736f2
trim docstring
ajtmccarty b7c6994
refactor UNiquenessConstraintScoper for readability
ajtmccarty a67223e
Merge pull request #10019 from opsmill/ifc-2796-node-scope-uniqueness-2
ajtmccarty 671b39c
no negative in chunked()
ajtmccarty dbbcad4
move get_query_arrows() from RelationshipSchema to Query
ajtmccarty abcd7e7
support relationship direction in UniquenessDependentResolver
ajtmccarty File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1: According to linked Jira issue IFC-2796, targeted uniqueness checks must receive only affected node IDs from the selected enriched diff. These subqueries discard
diff_root, so concurrent unmerged diffs of the same kind contribute UUIDs and can trigger unrelated validation (and restore work proportional to other diffs); scope each re-match through the selected root.Prompt for AI agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one is fixed on stable in #10054