Commit Graph
5 Commits
Author SHA1 Message Date
Adam Perry 7e93c916da exec-server: add hermetic Windows shell smoke coverage 2026-06-13 06:26:56 +00:00
Adam Perry 7d8a9ef36b protocol: retain executor cwd in command events 2026-06-13 06:26:43 +00:00
Adam Perry 4d05d4e172 core: retain and persist executor environment identity 2026-06-13 06:26:34 +00:00
Adam Perry 10d930f17b protocol: keep selected environment cwd as PathUri 2026-06-13 05:55:47 +00:00
Adam Perry @ OpenAI 9d938a46d9 [codex] Add hermetic Wine exec-server test (#27937)
## Why

We want to make it possible for an app-server orchestrator on one OS to
control an exec-server on another host running a different OS. In
practice this kinda already works if you get lucky and the two hosts
have the same path format, but we mangle quite a lot of operations if
either end is Windows.

This test starts exercising that interaction, although right now the
initial bootstrap fails. Future changes will expand the test's
assertions to match improved support.

## What

Stacked on #27964. This adds a small Windows exec-server fixture and a
Linux protocol smoke test using the reusable Wine harness, covering
Windows environment discovery, non-TTY `cmd.exe` execution, output, exit
status, and working directory.

Once we've got the full codex binary cross-building under Bazel we could
consider moving to the real binary instead of the stripped down
exec-server-only binary used here.
2026-06-12 20:20:23 -07:00