Commit 3836ad0
Remote: Only waits for background tasks from remote execution.
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: 4242969661 parent 621649d commit 3836ad0
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 | | |
| |||
1162 | 1164 | | |
1163 | 1165 | | |
1164 | 1166 | | |
1165 | | - | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
1166 | 1170 | | |
1167 | 1171 | | |
1168 | | - | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
1169 | 1175 | | |
1170 | 1176 | | |
1171 | 1177 | | |
| 1178 | + | |
1172 | 1179 | | |
1173 | 1180 | | |
1174 | 1181 | | |
| |||
1302 | 1309 | | |
1303 | 1310 | | |
1304 | 1311 | | |
1305 | | - | |
| 1312 | + | |
1306 | 1313 | | |
1307 | 1314 | | |
1308 | 1315 | | |
| |||
0 commit comments