From f86d8b7287273104a4d0268782becb8bfaff464e Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Wed, 9 Aug 2023 08:27:46 +0200 Subject: [PATCH] Retry event upload 256 times on Windows This remedies an issue (https://github.com/buildbuddy-io/buildbuddy/issues/4467) where the build would fail eventually because the connections to the remote get closed intermittently. --- .bazelrc.common | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bazelrc.common b/.bazelrc.common index 6b32043ac..236a01a6e 100644 --- a/.bazelrc.common +++ b/.bazelrc.common @@ -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`.