Skip to content

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 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
@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