Skip to content

fix(storage): forward list options when fetching the next page of files and buckets - #36775

Open
a5-stable wants to merge 1 commit into
googleapis:mainfrom
a5-stable:storage-forward-list-options-on-next
Open

a5-stable wants to merge 1 commit into
googleapis:mainfrom
a5-stable:storage-forward-list-options-on-next

Conversation

@a5-stable

@a5-stable a5-stable commented Dec 3, 2026 •

Copy link
Copy Markdown

File::List#next does not pass soft_deleted to the next request, so the page token from the soft-deleted listing is sent to a normal listing.
filter and include_folders_as_prefixes are dropped in the same way, and so is return_partial_success in Bucket::List#next.

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea.
  • Follow the instructions in CONTRIBUTING. Most importantly, ensure the tests and linter pass by running bundle exec rake ci in the gem subdirectory.
  • Update code documentation if necessary.

closes: #36774

@a5-stable
a5-stable requested review from a team and yoshi-approver as code owners December 3, 2026 06:56
@google-cla

google-cla Bot commented Dec 3, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[storage] File::List#next does not forward soft_deleted, so listing soft-deleted objects fails with "Invalid page token."

1 participant