Skip to content
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

Have caveat diffs properly check if an expression has changed #1788

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

josephschorr
Copy link
Member

By making the serialized caveat expressions stable, the diff should only return a change now when the caveat expr's has actually changed, rather than pretty much always, thus reducing the storage for "changed" caveats

Fixes #1742

We should go back to MarshalVT once planetscale/vtprotobuf#133 has merged

By making the serialized caveat expressions stable, the diff should only return a change now when the caveat expr's has actually changed, rather than pretty much always, thus reducing the storage for "changed" caveats

Fixes authzed#1742

We should go back to MarshalVT once planetscale/vtprotobuf#133 has merged
@josephschorr josephschorr requested a review from a team as a code owner March 11, 2024 21:11
@github-actions github-actions bot added the area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) label Mar 11, 2024
Copy link
Contributor

@vroldanbet vroldanbet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a fair tradeoff 👍🏻

@josephschorr josephschorr added this pull request to the merge queue Mar 12, 2024
Merged via the queue into authzed:main with commit 3f6e20d Mar 12, 2024
20 checks passed
@josephschorr josephschorr deleted the caveat-diff branch March 12, 2024 15:00
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure the deterministic serialized expression for the caveats
2 participants