-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Bazel
-
None
-
Fully Compatible
-
Build OnDeck
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
- Summary
- Give local/non-RBE Bazel executions a 7200-second fallback timeout per retry attempt.
- Preserve explicit timeouts and the existing 3600-second remote execution fallback.
- Add coverage for local, remote, and explicit timeout selection.
-
- Motivation
A hung local Bazel invocation could reach the outer Evergreen execution timeout before retry_bazel_cmd saw a timeout exit and started another attempt. The local fallback lets the existing retry loop recover.
-
- Safety
Explicit build_timeout_seconds remains authoritative. Remote execution behavior is unchanged.
-
- Testing
- bazel test //evergreen:bazel_evergreen_shutils_test
- bash -n evergreen/bazel_evergreen_shutils.sh
- bash -n evergreen/bazel_evergreen_shutils_test.sh
- git diff --check