mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## Why Windows runs the state crate's database-heavy Rust tests serially within each shard. ## What changed Configure `state-unit-tests` to run across four Bazel shards. GitOrigin-RevId: f540f3c157734a2b9944bae9af554ad9dbc4a69b
19 lines
477 B
Python
19 lines
477 B
Python
load("//:defs.bzl", "codex_rust_crate")
|
|
|
|
codex_rust_crate(
|
|
name = "state",
|
|
compile_data = glob([
|
|
"goals_migrations/**",
|
|
"logs_migrations/**",
|
|
"memory_migrations/**",
|
|
"migrations/**",
|
|
"queue_migrations/**",
|
|
"thread_history_migrations/**",
|
|
]),
|
|
crate_name = "codex_state",
|
|
test_shard_counts = {
|
|
# Windows runs database-heavy Rust tests serially within each shard.
|
|
"state-unit-tests": 4,
|
|
},
|
|
)
|