bazel: right-size Rust test targets

This commit is contained in:
Adam Perry
2026-06-22 18:34:27 +00:00
parent 5b95745eae
commit 16b7552b3d
5 changed files with 71 additions and 20 deletions
+4 -1
View File
@@ -10,7 +10,6 @@ codex_rust_crate(
"//codex-rs/cli:codex",
"//codex-rs/rmcp-client:test_stdio_server",
],
integration_test_timeout = "long",
test_shard_counts = {
# Note app-server-all-test has a large number of integration tests, so
# even a single shard can be quite slow. When there is a legitimate
@@ -21,5 +20,9 @@ codex_rust_crate(
"app-server-all-test": 16,
"app-server-unit-tests": 8,
},
test_sizes = {
"app-server-all-test": "medium",
"app-server-all-test-windows-cross": "medium",
},
test_tags = ["no-sandbox"],
)
+4 -2
View File
@@ -21,7 +21,6 @@ codex_rust_crate(
"//codex-rs/windows-sandbox-rs:codex-command-runner",
"//codex-rs/windows-sandbox-rs:codex-windows-sandbox-setup",
],
integration_test_timeout = "long",
run_tests_with_wine_exec = True,
rustc_env = {
# Keep manifest-root path lookups inside the Bazel execroot for code
@@ -47,6 +46,9 @@ codex_rust_crate(
"core-all-test": 16,
"core-unit-tests": 8,
},
test_sizes = {
"core-unit-tests": "medium",
"core-unit-tests-windows-cross": "medium",
},
test_tags = ["no-sandbox"],
unit_test_timeout = "long",
)
+4
View File
@@ -6,5 +6,9 @@ codex_rust_crate(
test_shard_counts = {
"exec-all-test": 8,
},
test_sizes = {
"exec-all-test": "medium",
"exec-all-test-windows-cross": "medium",
},
test_tags = ["no-sandbox"],
)