bazel: shard core rust tests

Use the merged hermeticbuild rules_rust sharding support and configure the generated core test targets for eight shards.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Michael Bolin
2026-04-15 13:57:06 -07:00
co-authored by Codex
parent ba36415a30
commit 439136602c
8 changed files with 277 additions and 168 deletions
+4
View File
@@ -56,6 +56,10 @@ codex_rust_crate(
# succeeds without this workaround.
"//:AGENTS.md",
],
test_shard_counts = {
"core-all-test": 8,
"core-unit-tests": 8,
},
test_tags = ["no-sandbox"],
unit_test_args = [
"--skip",