-
Notifications
You must be signed in to change notification settings - Fork 393
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
Handle UC Resource Grants with Spaces #3292
Closed
Closed
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
207dda6
Add Tests to Demonstrate Problem
ledbutter 49e2d1e
Validate Privs for Create/Update
ledbutter 88d1245
Merge branch 'main' into resourceGrantsHyphens
ledbutter aabb111
Fix format
ledbutter 7111b11
Switch to normalizing privs
ledbutter 3138f7a
Merge branch 'main' into resourceGrantsHyphens
ledbutter 74572d7
Merge branch 'main' into resourceGrantsHyphens
ledbutter 78f1b38
Merge branch 'main' into resourceGrantsHyphens
ledbutter 2e3318d
Merge branch 'main' into resourceGrantsHyphens
ledbutter e346ea8
Add Test for resource_grant (same scenario)
ledbutter c99e9ac
Port fix for resource_grant
ledbutter 33646bc
Merge branch 'main' into resourceGrantsHyphens
ledbutter daa9a87
Merge branch 'main' into resourceGrantsHyphens
ledbutter 681aa8d
Merge branch 'main' into resourceGrantsHyphens
ledbutter 600c288
Point check-in: Figuring Out CustomizeDiff Testing
ebfa348
Implement CustomizeDiff with Error
ledbutter dfaa252
Account for non-string diffs for now
ledbutter 8aa6781
Merge branch 'main' into resourceGrantsHyphens
ledbutter 79d9520
Use DiffSuppressFunc Instead
ledbutter 18dfb09
Clean up
ledbutter ef02c08
Switch to debug log when suppressing
ledbutter 1327aa6
Merge branch 'main' into resourceGrantsHyphens
ledbutter 0c523a0
Add unit test and speculative acceptance test
ledbutter 4a39e67
Saving is hard
ledbutter c4e9df0
Merge branch 'main' into resourceGrantsHyphens
ledbutter 8b079a1
Simplify integration tests from feedback
ledbutter a85126a
Merge branch 'main' into resourceGrantsHyphens
ledbutter 71bd3ae
Roll back unrelated changes
ledbutter 7275f52
Merge branch 'main' into resourceGrantsHyphens
ledbutter 3981b53
Merge branch 'main' into resourceGrantsHyphens
ledbutter 4c6f714
Merge branch 'main' into resourceGrantsHyphens
ledbutter 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 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 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 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 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 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 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 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 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.
@ledbutter integration test failed, so I looked at this in a bit more details.
DiffSuppressFunc
only works for primitive, i.e. string-like attributes. For lists, we need to look atCustomizeDiff
instead.@tanmay-db we probably need to re-add a lightweight version of
CustomizeDiff
to handle this scenario, as it is causing permanent driftsThere 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.
I initially tried using
CustomizeDiff
, but that only works for computed keys, as I mentioned here. Are you saying that there needs to be a lower level change before this can be accomplished?