Skip to content

Conversation

@krishnamd-jkp
Copy link
Contributor

@krishnamd-jkp krishnamd-jkp commented Sep 24, 2025

This PR introduces logic in transfermanager download directories flow where the objects are skipped if the download path is outside of target directory. The changes directly add the results of such objects using addResult method bypassing the addition of such objects to workers channel

@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Sep 24, 2025
@krishnamd-jkp krishnamd-jkp marked this pull request as ready for review September 25, 2025 05:20
@krishnamd-jkp krishnamd-jkp requested review from a team as code owners September 25, 2025 05:20
@Dhriti07 Dhriti07 self-requested a review September 25, 2025 09:13
@tritone tritone added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 30, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 30, 2025
@cpriti-os cpriti-os added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 6, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 6, 2025
@cpriti-os cpriti-os added the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 6, 2025
Copy link
Contributor

@tritone tritone left a comment

Choose a reason for hiding this comment

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

Looks good but I'm curious about the decision to log the skipped files and not return an error from Downloader.

Also, did you run the transfermanager integration tests locally?

@krishnamd-jkp krishnamd-jkp requested a review from a team as a code owner October 7, 2025 14:09
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 7, 2025
Copy link
Contributor

@tritone tritone left a comment

Choose a reason for hiding this comment

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

Couple more suggestions but otherwise LGTM

@krishnamd-jkp krishnamd-jkp requested a review from tritone October 8, 2025 05:18
Copy link
Contributor

@tritone tritone left a comment

Choose a reason for hiding this comment

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

Couple comments on the tests you added, otherwise looks good.

@krishnamd-jkp krishnamd-jkp removed the request for review from Dhriti07 October 9, 2025 06:43
@tritone tritone added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 9, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 9, 2025
@krishnamd-jkp krishnamd-jkp added kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Oct 9, 2025
@kokoro-team kokoro-team removed kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Oct 9, 2025
@krishnamd-jkp krishnamd-jkp merged commit 6259aee into googleapis:main Oct 10, 2025
9 checks passed
krishnamd-jkp pushed a commit that referenced this pull request Oct 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.57.1](storage/v1.57.0...storage/v1.57.1)
(2025-10-28)


### Bug Fixes

* **storage:** Takeover idempotence.
([#13230](#13230))
([cc5d2a1](cc5d2a1))
* **storage:** Copy metadata when using Copier with grpc
([#12919](#12919))
([57a2e80](57a2e80))
* **storage:** Fix takeover response handling.
([#13239](#13239))
([26d75bc](26d75bc))
* **storage:** Remove default timeout for gRPC operations
([#13022](#13022))
([b94c3ba](b94c3ba))
* **storage:** Skip download of file outside of target dir
([#12945](#12945))
([6259aee](6259aee))
* **storage:** Upgrade gRPC service registration func
([8fffca2](8fffca2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Brenna N Epp <brennae@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants