fix: increase Bazel timeout to 45 minutes (#19578)

Unfortunately, if most of the build graph is invalidated such that there
are few cache hits, the Windows Bazel build for all the tests often
takes more than `30` minutes, so this PR increases the timeout to `45`
minutes until we set up distributed builds.
This commit is contained in:
Michael Bolin
2026-04-25 10:03:01 -07:00
committed by GitHub
parent 022f81df1f
commit 88f300d74d

View File

@@ -17,7 +17,11 @@ concurrency:
cancel-in-progress: ${{ github.ref_name != 'main' }}
jobs:
test:
timeout-minutes: 30
# Ideally, this would be only 30 minutes, but a no-cache-hit Windows build
# seems to trip this limit and starting over is painful when it happens.
# Ultimately we need true distributed builds (e.g.,
# https://www.buildbuddy.io/docs/rbe-setup/) to speed things up.
timeout-minutes: 45
strategy:
fail-fast: false
matrix: