Retry Windows failures to work around #2711 (#2712)
See #2711. This is a temporary workaround while we look for an actual
fix.
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py
index bdb3e5c..062db9c 100755
--- a/buildkite/bazelci.py
+++ b/buildkite/bazelci.py
@@ -3038,6 +3038,11 @@
step["retry"]["automatic"].append({"exit_status": 128, "limit": 1})
step["retry"]["automatic"].append({"exit_status": 1, "limit": 1})
+ # Automatically retry on Windows platforms to work around flaky failures.
+ # https://github.com/bazelbuild/continuous-integration/issues/2711
+ if platform == "windows" or platform == "windows_arm64":
+ step["retry"]["automatic"].append({"exit_status": 1, "limit": 1})
+
if concurrency and concurrency_group:
step["concurrency"] = concurrency
step["concurrency_group"] = concurrency_group