mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
Generate separate Bazel test labels for selected large Rust test targets so BuildBuddy can report timing and flakiness per shard. Keep the original aggregate target names as test_suites over the generated shard targets. For integration tests, compile one manual *-all-test-bin rust_test and make each shard label a lightweight wrapper around that binary. This preserves distinct BuildBuddy labels without compiling the same test crate once per shard. Patch the pinned rules_rust archive with the stable name-hash sharding, explicit RULES_RUST_TEST_* env support, Windows manifest fallback, Windows-safe PowerShell UInt32 masking, and isolated Windows shard temp files from hermeticbuild/rules_rust#14 until Codex can bump to a merged rules_rust commit that contains it. Co-authored-by: Codex <noreply@openai.com>
28 lines
1.1 KiB
Python
28 lines
1.1 KiB
Python
exports_files([
|
|
"abseil_windows_gnullvm_thread_identity.patch",
|
|
"aws-lc-sys_memcmp_check.patch",
|
|
"aws-lc-sys_windows_msvc_prebuilt_nasm.patch",
|
|
"aws-lc-sys_windows_msvc_memcmp_probe.patch",
|
|
"bzip2_windows_stack_args.patch",
|
|
"llvm_windows_symlink_extract.patch",
|
|
"rules_rust_windows_bootstrap_process_wrapper_linker.patch",
|
|
"rules_rust_windows_build_script_runner_paths.patch",
|
|
"rules_rust_windows_exec_bin_target.patch",
|
|
"rules_rust_windows_exec_std.patch",
|
|
"rules_rust_windows_process_wrapper_skip_temp_outputs.patch",
|
|
"rules_rust_stable_explicit_test_shards.patch",
|
|
"rules_rust_windows_msvc_direct_link_args.patch",
|
|
"rules_rust_windows_gnullvm_build_script.patch",
|
|
"rules_rs_windows_gnullvm_exec.patch",
|
|
"rules_rs_windows_exec_linker.patch",
|
|
"rusty_v8_prebuilt_out_dir.patch",
|
|
"ring_windows_msvc_include_dirs.patch",
|
|
"v8_bazel_rules.patch",
|
|
"v8_module_deps.patch",
|
|
"v8_source_portability.patch",
|
|
"webrtc-sys_hermetic_darwin_sysroot.patch",
|
|
"windows-link.patch",
|
|
"xz_windows_stack_args.patch",
|
|
"zstd-sys_windows_msvc_include_dirs.patch",
|
|
])
|