Skip to content

Commit f86d8b7

Browse files
committed
Retry event upload 256 times on Windows
This remedies an issue (buildbuddy-io/buildbuddy#4467) where the build would fail eventually because the connections to the remote get closed intermittently.
1 parent 1bd3c46 commit f86d8b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.bazelrc.common

+4
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ build:ci-common --experimental_repository_cache_hardlinks
6464

6565
# Use a remote cache during CI
6666
build:ci-windows-bindist --bes_upload_mode=wait_for_upload_complete --bes_timeout=60s
67+
# On Github CI for Windows, we see intermittent connection failures to BuildBuddy
68+
# (see https://github.com/buildbuddy-io/buildbuddy/issues/4467)
69+
# increase the retries as a workaround.
70+
build:ci-windows-bindist --experimental_build_event_upload_max_retries=256
6771
build:remote-cache --remote_cache=grpcs://remote.buildbuddy.io
6872
build:ci-common --remote_timeout=3600
6973
# Avoid failures of the form `deadline exceeded after 14999958197ns DEADLINE_EXCEEDED`.

0 commit comments

Comments
 (0)