exec-server: add hermetic Windows shell smoke coverage

This commit is contained in:
Adam Perry
2026-06-13 06:26:56 +00:00
parent 4e39c1cd20
commit 7e93c916da
6 changed files with 488 additions and 218 deletions
+3 -4
View File
@@ -1,5 +1,4 @@
# Windows exec-server fixture
# Exec-server test fixtures
This directory contains the small Windows exec-server binary used by
foreign-OS tests. It links only `codex-exec-server` because the full Codex
Windows graph does not yet cross-build with Bazel.
This package contains the minimal Windows exec-server binary used by the
cross-platform tests in `//codex-rs/core/tests/remote_env_windows`.
@@ -9,6 +9,7 @@ use codex_exec_server::ExecServerRuntimePaths;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
std::fs::create_dir_all(r"C:\workspace")?;
let current_exe = std::env::current_exe()?;
// This fixture is always a Windows executable, so it neither invokes nor
// needs the separate Linux sandbox binary.