Repository navigation
fix(google-drive): keep the page token an agent passes - #10008
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
[Medium impact] This PR appears safe to merge. SummaryPreserves an agent’s
Reviews (1) · Last reviewed commit: "fix(google-drive): keep the page token a..." · Reviewed by Greptile |
This was referenced Nov 13, 2026
This branch was previously deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
params.operationis undefined there, and the Drive mapper's last branch (params.operation !== 'list') setpageTokentoundefined. The block's output is spread over the model's args, so every agent call to list, search, list permissions, list revisions or list comments lost the model's page token and returned the first page.context?.operation ? pageToken : undefined), the sameagentPageTokenthe dedicated per-operation tokens already use.Type of Change
Testing
blocks/blocks/google_drive.test.ts:blocks/blocks.test.tspasses.check-block-registry origin/staging,check:utils,check:test-patterns,check:explicit-any,check:comment-hygieneandcheck:docspass, plus lint and type-check in the pre-push hook.Checklist
test-auditauthoring gate)