Remote: Only waits for background tasks from remote execution.#14634
Closed
coeuvre wants to merge 1 commit intobazelbuild:masterfrom
Closed
Remote: Only waits for background tasks from remote execution.#14634coeuvre wants to merge 1 commit intobazelbuild:masterfrom
coeuvre wants to merge 1 commit intobazelbuild:masterfrom
Conversation
Contributor
❤️ |
meisterT
approved these changes
Jan 25, 2022
Contributor
|
@Wyverald This fixes a 5.0 regression. Can we add it to the 5.0.1 milestone? |
Member
|
(for the record, the linked issue is tracked on the 5.1 milestone) |
brentleyjones
pushed a commit
to brentleyjones/bazel
that referenced
this pull request
Feb 8, 2022
We added the block waiting behaviour after each command in remote module to wait for background uploads when introducing async upload. However, not all background uploads should be waited, e.g. uploads from BES module but with flag `--bes_upload_mode=fully_async`. This PR updates remote module so that only uploads initiated by remote module are waited after the command. This also enable us to implement something like `--remote_upload_mode=fully_async` in the future. Fixes bazelbuild#14620. Closes bazelbuild#14634. PiperOrigin-RevId: 424296966 (cherry picked from commit 3836ad0)
Wyverald
pushed a commit
that referenced
this pull request
Feb 9, 2022
We added the block waiting behaviour after each command in remote module to wait for background uploads when introducing async upload. However, not all background uploads should be waited, e.g. uploads from BES module but with flag `--bes_upload_mode=fully_async`. This PR updates remote module so that only uploads initiated by remote module are waited after the command. This also enable us to implement something like `--remote_upload_mode=fully_async` in the future. Fixes #14620. Closes #14634. PiperOrigin-RevId: 424296966 (cherry picked from commit 3836ad0) Co-authored-by: Chi Wang <chiwang@google.com>
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.
We added the block waiting behaviour after each command in remote module to wait for background uploads when introducing async upload. However, not all background uploads should be waited, e.g. uploads from BES module but with flag
--bes_upload_mode=fully_async.This PR updates remote module so that only uploads initiated by remote module are waited after the command. This also enable us to implement something like
--remote_upload_mode=fully_asyncin the future.Fixes #14620.