Skip to content

Commit 61b1a63

Browse files
committed
[build] Reduce CI remote cache fetch parallelism to debug CI freezes
We use up to 32 concurrent Bazel jobs to fetch build outputs from cache – we have frequently seen transient cache fetch errors and more concerning CI freezes for macOS release jobs recently, reducing the parallelism may make fully cached builds slightly slower but may increase stability.
1 parent 82620ad commit 61b1a63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/ci.bazelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ build:ci --verbose_failures
99
# increasing this closer towards the suggested value of 200. Note the number of maximum build jobs
1010
# is controlled by the --local_resources=cpu flag and still limited to the number of cores by
1111
# default.
12-
build:ci --jobs=32
12+
# TODO (build perf): Temporarily setting this to 16, that might help with CI freezing on macOS
13+
# release jobs?
14+
build:ci --jobs=16
1315
# Do not check for changes in external repository files, should speed up bazel invocations after the first one
1416
build:ci --noexperimental_check_external_repository_files
1517
# Only build runfile trees when needed. Runfile trees are useful for directly invoking bazel-built

0 commit comments

Comments
 (0)