From 55662592e0b894cb37951c74551ac4697fcbf6a6 Mon Sep 17 00:00:00 2001 From: Adam Perry Date: Tue, 7 Jul 2026 02:34:55 +0000 Subject: [PATCH] ci: measure two-thread Windows Bazel test harnesses --- .github/workflows/bazel.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index b1703224b6..ff9f703c1a 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -225,11 +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 # 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 --profile=${RUNNER_TEMP}/windows-bazel-profile-shard-${BAZEL_TEST_SHARD}.gz --noslim_profile )