bazel: document Windows test tag exceptions (#28598)

This commit is contained in:
Adam Perry
2026-06-22 20:49:20 +00:00
parent 461e188cd2
commit 595f09d6e2
9 changed files with 27 additions and 0 deletions
+3
View File
@@ -3,6 +3,9 @@ load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "agent-identity",
crate_name = "codex_agent_identity",
# This test is short once running, but it hit the 60s Windows timeout when
# several freshly invalidated tests launched together. Serialize local runs
# to avoid runner startup contention while keeping the small test size.
test_tags_by_target = {
"agent-identity-unit-tests-windows-cross": ["exclusive-if-local"],
},
+3
View File
@@ -6,6 +6,9 @@ codex_rust_crate(
test_sizes = {
"apply-patch-all-test-windows-cross": "medium",
},
# Cold Windows runs take about 54s, while remote results have reported
# about 1s and made the medium budget look oversized. Run it alone and
# bypass remote test-result caching so CI measures the cold runtime.
test_tags_by_target = {
"apply-patch-all-test-windows-cross": [
"exclusive-if-local",
+3
View File
@@ -3,6 +3,9 @@ load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "file-system",
crate_name = "codex_file_system",
# This test is short once running, but it hit the 60s Windows timeout when
# several freshly invalidated tests launched together. Serialize local runs
# to avoid runner startup contention while keeping the small test size.
test_tags_by_target = {
"file-system-unit-tests-windows-cross": ["exclusive-if-local"],
},
+3
View File
@@ -3,6 +3,9 @@ load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "read",
crate_name = "codex_memories_read",
# This test is short once running, but it hit the 60s Windows timeout when
# several freshly invalidated tests launched together. Serialize local runs
# to avoid runner startup contention while keeping the small test size.
test_tags_by_target = {
"read-unit-tests-windows-cross": ["exclusive-if-local"],
},
+3
View File
@@ -3,6 +3,9 @@ load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "secrets",
crate_name = "codex_secrets",
# This test is short once running, but it hit the 60s Windows timeout when
# several freshly invalidated tests launched together. Serialize local runs
# to avoid runner startup contention while keeping the small test size.
test_tags_by_target = {
"secrets-unit-tests-windows-cross": ["exclusive-if-local"],
},
+3
View File
@@ -12,6 +12,9 @@ codex_rust_crate(
test_sizes = {
"state-unit-tests-windows-cross": "medium",
},
# Cold Windows runs exceed the 60s short timeout, while remote results have
# reported about 15s and made the medium budget look oversized. Run it alone
# and bypass remote test-result caching so CI measures the cold runtime.
test_tags_by_target = {
"state-unit-tests-windows-cross": [
"exclusive-if-local",
@@ -3,6 +3,9 @@ load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "approval-presets",
crate_name = "codex_utils_approval_presets",
# This test is short once running, but it hit the 60s Windows timeout when
# several freshly invalidated tests launched together. Serialize local runs
# to avoid runner startup contention while keeping the small test size.
test_tags_by_target = {
"approval-presets-unit-tests-windows-cross": ["exclusive-if-local"],
},
@@ -6,6 +6,9 @@ codex_rust_crate(
test_sizes = {
"rustls-provider-preinstalled-test-windows-cross": "medium",
},
# This unit test is short once running, but it hit the 60s Windows timeout
# when several freshly invalidated tests launched together. Serialize local
# runs to avoid runner startup contention while keeping its small size.
test_tags_by_target = {
"rustls-provider-unit-tests-windows-cross": ["exclusive-if-local"],
},
+3
View File
@@ -9,6 +9,9 @@ codex_rust_crate(
test_sizes = {
"windows-sandbox-rs-unit-tests-windows-cross": "medium",
},
# Cold Windows runs exceed the 60s short timeout, while remote results have
# reported about 3s and made the medium budget look oversized. Run it alone
# and bypass remote test-result caching so CI measures the cold runtime.
test_tags_by_target = {
"windows-sandbox-rs-unit-tests-windows-cross": [
"exclusive-if-local",