Commit a5f2813
Remote: Only waits for background tasks from remote execution. (bazelbuild#14752)
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)
Co-authored-by: Chi Wang <[email protected]>1 parent 60f757c commit a5f2813
File tree
1 file changed
+10
-3
lines changed- src/main/java/com/google/devtools/build/lib/remote
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
1160 | 1162 | | |
1161 | 1163 | | |
1162 | 1164 | | |
1163 | | - | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
1164 | 1168 | | |
1165 | 1169 | | |
1166 | | - | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1167 | 1173 | | |
1168 | 1174 | | |
1169 | 1175 | | |
| 1176 | + | |
1170 | 1177 | | |
1171 | 1178 | | |
1172 | 1179 | | |
| |||
1300 | 1307 | | |
1301 | 1308 | | |
1302 | 1309 | | |
1303 | | - | |
| 1310 | + | |
1304 | 1311 | | |
1305 | 1312 | | |
1306 | 1313 | | |
| |||
0 commit comments