-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Make --incompatible_remote_build_event_upload_respect_no_cache
a no-op
#17989
Make --incompatible_remote_build_event_upload_respect_no_cache
a no-op
#17989
Conversation
Any context on the delay of this import @kshyanashree? |
Hi @brentleyjones! There were conflicts where I removed few unneeded tests. Still presubmits are failing, Could you please look into it? |
I'll rebase soon. |
8c5c3f2
to
4743c64
Compare
Thank you! |
RELNOTES: `--incompatible_remote_build_event_upload_respect_no_cache` is now a no-op.
4743c64
to
3448f67
Compare
|| remoteOptions.remoteBuildEventUploadMode != RemoteBuildEventUploadMode.ALL | ||
|| !remoteOptions.incompatibleRemoteBuildEventUploadRespectNoCache) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coeuvre The way this was written, using one flag or the other, meant that this always evaluated to true
(so always returned false
). The tests are breaking with this change, and to get the hold behavior, I would instead change this to remoteOptions == null || true
, or just have the function always return false
.
Not sure what to do for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
always return false
SGTM.
@kshyanashree all green now |
Thanks @brentleyjones! |
Also removed unneeded tests. RELNOTES: `--incompatible_remote_build_event_upload_respect_no_cache` is now a no-op. Closes bazelbuild#17989. PiperOrigin-RevId: 526843711 Change-Id: I1305514cf39c29aca9208beb2569d725370b0179
Also removed unneeded tests.
RELNOTES:
--incompatible_remote_build_event_upload_respect_no_cache
is now a no-op.