-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bump page token size to 1MB from 4KB #252
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe changes made in this pull request involve updates to the validation logic for various structures across multiple files related to entitlement, grant, and resource services. Specifically, the maximum length constraints for the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
When APIs don't support proper pagination, it forces us to store more state in our own pagination tokens in order to have reliable state. We've come across a use case where the amount of state we need to store is >4KB, which results in validation errors when returning a large token. In this case, the stored token is hundreds of KB, so going to 1MB should give us some headroom.
The max gRPC message size is 4MB. If we're paginating properly, 3MB should hopefully be enough for the contents of any results returned.
Summary by CodeRabbit
New Features
PageToken
andNextPageToken
fields across various services, enhancing the capacity for handling larger data in requests and responses.Bug Fixes