From 518bf06cf3038b652f8f339028a01bcd94386d9d Mon Sep 17 00:00:00 2001 From: Adam Perry Date: Tue, 7 Jul 2026 02:52:45 +0000 Subject: [PATCH] ci: measure eight local Windows Bazel test jobs --- .github/workflows/bazel.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index ff9f703c1a..e4851896c7 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -225,16 +225,16 @@ jobs: --skip_incompatible_explicit_targets --test_tag_filters=-argument-comment-lint --test_verbose_timeout_warnings - # The Windows-cross config serializes each Rust test harness. - # Measure whether allowing two harness threads uses the otherwise - # idle host without overcommitting Bazel's four local test slots. - --test_env=RUST_TEST_THREADS=2 + # The Windows-cross config caps local test processes at four. + # Measure whether the idle host can sustain twice as many test + # actions while leaving each Rust harness serialized. + --local_test_jobs=8 # Make every uploaded experiment revision execute its selected # tests instead of reusing the prior revision's test action cache. --test_env=CODEX_BAZEL_TEST_CACHE_BUST=${GITHUB_SHA} --build_metadata=COMMIT_SHA=${GITHUB_SHA} --build_metadata=TAG_windows_test_shard=${BAZEL_TEST_SHARD} - --build_metadata=TAG_windows_rust_test_threads=2 + --build_metadata=TAG_windows_local_test_jobs=8 --profile=${RUNNER_TEMP}/windows-bazel-profile-shard-${BAZEL_TEST_SHARD}.gz --noslim_profile )