Skip to content

Conversation

@brentleyjones
Copy link
Contributor

Enabling both --noremote_upload_local_results and
--incompatible_remote_build_event_upload_respect_no_cache caused
ByteStreamBuildEventArtifactuploader not to check if some files already
existed remotely because local files were not to be uploaded. When using
remote execution some of these files might exist remotely, so we want to
check remote cache for those files even if we would not upload them if
missing. The test case included depicts this failure case.

Closes #15288.

PiperOrigin-RevId: 442798312
(cherry picked from commit 317375d)

Enabling both `--noremote_upload_local_results` and
`--incompatible_remote_build_event_upload_respect_no_cache` caused
ByteStreamBuildEventArtifactuploader not to check if some files already
existed remotely because local files were not to be uploaded. When using
remote execution some of these files might exist remotely, so we want to
check remote cache for those files even if we would not upload them if
missing. The test case included depicts this failure case.

Closes bazelbuild#15280.

PiperOrigin-RevId: 442798312
(cherry picked from commit 317375d)
@brentleyjones brentleyjones requested a review from ckolli5 as a code owner May 5, 2022 01:27
@ckolli5 ckolli5 merged commit ad74d52 into bazelbuild:release-5.2.0 May 9, 2022
@brentleyjones brentleyjones deleted the bj/fix-checking-remote-cache-for-omitted-files-in-buildevent-file branch July 25, 2023 12:54
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.

3 participants