Skip to content

Shard Bazel Windows tests across jobs#22408

Draft
starr-openai wants to merge 1 commit into
mainfrom
starr/windows-bazel-pr-job-fanout-20260512
Draft

Shard Bazel Windows tests across jobs#22408
starr-openai wants to merge 1 commit into
mainfrom
starr/windows-bazel-pr-job-fanout-20260512

Conversation

@starr-openai
Copy link
Copy Markdown
Contributor

@starr-openai starr-openai commented May 13, 2026

Summary

  • split the single PR-blocking Bazel Windows test leg into four Windows shard jobs
  • preserve the existing required Windows Bazel check name with a lightweight aggregate gate
  • keep Linux/macOS Bazel test jobs and the separate Windows clippy/release jobs unchanged

Why

The ordinary PR Windows Bazel test leg was one GitHub Actions job, so Bazel only had in-job parallelism. This gives that lane real job-level fanout across separate Windows hosts while keeping the target set disjoint via stable label hashing.

Notes

  • this is scoped to the Bazel Windows test leg only
  • each shard keeps the existing Windows cross-compile/RBE path and restores the former monolithic Windows test cache
  • shard jobs do not upload duplicate repository caches after test work, keeping cache cleanup off the PR-blocking shard path
  • no local validation run; relying on GitHub Actions for the workflow-shaped check

@starr-openai starr-openai force-pushed the starr/windows-bazel-pr-job-fanout-20260512 branch 2 times, most recently from 7d5db7d to ced41f9 Compare May 13, 2026 02:24
Co-authored-by: Codex <noreply@openai.com>
@starr-openai starr-openai force-pushed the starr/windows-bazel-pr-job-fanout-20260512 branch from ced41f9 to 8daec49 Compare May 13, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant