Files
codex/codex-rs/voice-host/BUILD.bazel
T
Dmitriy Kovalenko 021fccb046 Stabilize cross-platform tests and directory-change fork permissions (#59369)
## Why

Tests need to distinguish slow subprocess startup from operation timeouts and wait for asynchronous work before asserting results or cleaning up fixtures.

## What changed

- Synchronize subprocess readiness, queued-turn completion, and matching UI events; allow more time for cold startup and separate startup from shutdown deadlines.
- Adapt Windows fixtures and permission expectations, provide the voice-host test runtime DLL path, and normalize platform paths and animated status snapshots.
- Use current configuration permissions when changing directories in embedded TUI sessions, while retaining saved permissions for remote sessions.
- Allow the release prompt-prefix comparison to accept the exact image-tool description update that removes image detail options, and refresh the corresponding tool snapshot.

## Testing

Extend inherited-session metadata coverage to both legacy and paginated thread history, including persisted history mode and revision-aware resume.

GitOrigin-RevId: 0afb38403fc0adb0d83175344749584f0cdf9979
2026-11-04 09:51:28 +00:00

14 lines
421 B
Python

load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "voice-host",
binaries_with_build_commit = ["codex-voice-host"],
binary_unit_test_windows_runtime = select({
"@llvm//constraints/windows/abi:msvc": "//third_party/voice:native_runtime",
"//conditions:default": None,
}),
crate_name = "codex_voice_host",
crate_srcs = [],
unit_test_args = ["--test-threads=1"],
)