mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## Intent Keep Bazel and Starlark files consistently formatted without requiring contributors to install or version buildifier themselves. ## Implementation - Add a SHA-256-pinned, cross-platform DotSlash manifest for buildifier v8.5.1. - Run buildifier from the shared `just fmt` and `just fmt-check` driver, with Windows-safe explicit DotSlash invocation. - Provision DotSlash in formatting CI and contributor devcontainers, and document the source-build prerequisite. - Apply the initial mechanical buildifier formatting baseline.
22 lines
779 B
Python
22 lines
779 B
Python
load("//:defs.bzl", "codex_rust_crate")
|
|
|
|
codex_rust_crate(
|
|
name = "app-server",
|
|
crate_name = "codex_app_server",
|
|
extra_binaries = [
|
|
"//codex-rs/bwrap:bwrap",
|
|
],
|
|
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
|
|
# test failure in a shard, it will still get run 3x in total, which
|
|
# can cause us to exhaust our CI timeout if the shard happens to run
|
|
# long. Using a higher shard count for app-server-all-test should help
|
|
# mitigate this risk.
|
|
"app-server-all-test": 16,
|
|
"app-server-unit-tests": 8,
|
|
},
|
|
test_tags = ["no-sandbox"],
|
|
)
|