Skip to content

Commit

Permalink
Retry event upload 256 times on Windows
Browse files Browse the repository at this point in the history
This remedies an issue (buildbuddy-io/buildbuddy#4467) where the
build would fail eventually because the connections to the remote get closed intermittently.
  • Loading branch information
avdv committed Aug 10, 2023
1 parent 10aaf25 commit 054ed48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc.common
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ build:ci-common --experimental_repository_cache_hardlinks

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

0 comments on commit 054ed48

Please sign in to comment.