Files
codex/codex-rs/windows-sandbox-service/BUILD.bazel
johnl-oai 501931b399 Add Windows sandbox service lifecycle scaffolding (#42341)
## What changed

- Add the `codex-windows-sandbox-service` workspace crate and Windows-only build target.
- Integrate `CodexSandboxService` with the Windows Service Control Manager, including start, stop, shutdown, status reporting, and event-log handling.
- Support service mode by default and a debug-only `--foreground` mode. Keep provisioning IPC disabled until authenticated request handling is available.

## Testing

- Add argument-parsing tests for service, foreground, unknown, and multiple arguments.

GitOrigin-RevId: 1c84f0a593b65e5cf97ab7606cde03675542b0b0
2026-09-02 19:49:58 +00:00

8 lines
218 B
Python

load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "windows-sandbox-service",
binary_test_target_compatible_with = ["@platforms//os:windows"],
crate_name = "codex_windows_sandbox_service",
)