ci: profile Windows Bazel contention with eight test jobs#31367
Draft
anp-oai wants to merge 4 commits into
Draft
ci: profile Windows Bazel contention with eight test jobs#31367anp-oai wants to merge 4 commits into
anp-oai wants to merge 4 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Rerun the Windows Bazel profiling experiment on top of the 8-local-test-job change, while keeping #31339 as the unchanged reference experiment linked from #31352.
What
--local_test_jobs=8change from ci: increase Windows Bazel local test jobs #313524 GitHub-shard findings
core-all-test-windows-crossshard 5 took 504.0s, including 387.7s (77%) in Bazel local-test resource-lock waits; fourcore-allshards failed once and retriedutils/imagetook 110.7s with no resource-lock wait, so it is a real execution-time floorapp-server-all-test-windows-crossshard 8 took 271.9s, including 161.2s (59%) in resource-lock waits; one 15-second disk burst reached 1.48 GiB/s writes, 34.7ms latency, and queue 371.7shell-commandtook 204.3s, including 117.9s (58%) in resource-lock waits; CPU briefly reached 99.8% with processor queue 2688 GitHub-shard findings
core-all-test-windows-crossremains one selected Bazel target label, so all 16 internal test shards still land on one GitHub runner; the critical shard took 453.0s, including 308.5s (68%) in resource-lock waitsrmcp-client-streamable_http_recoveryaction took 189.6s, including 132.1s (70%) in resource-lock waitsManual validation
yq '.' .github/workflows/bazel.ymlgit diff --check origin/main...HEADjust test-github-scriptsjust fmt