Lightweight coding agent that runs in your terminal
Rust
tests: serialize process-heavy Windows CI suites (#18943)
Michael Bolinfaed6d5c070f
diff --git a/codex-rs/.config/nextest.toml b/codex-rs/.config/nextest.tomlindex 3f68bbbe96..86d00e4637 100644--- a/codex-rs/.config/nextest.toml+++ b/codex-rs/.config/nextest.toml@@ -8,6 +8,11 @@ max-threads = 1[test-groups.app_server_integration]max-threads = 1+[test-groups.core_apply_patch_cli_integration]+max-threads = 1++[test-groups.windows_sandbox_legacy_sessions]+max-threads = 1[[profile.default.overrides]]# Do not add new tests here@@ -27,3 +32,15 @@ test-group = 'app_server_protocol_codegen'# Keep the library unit tests parallel.filter = 'package(codex-app-server) & kind(test)'test-group = 'app_server_integration'++[[profile.default.overrides]]+# These tests exercise full Codex turns and apply_patch execution, and they are+# sensitive to Windows runner process-startup stalls when many cases launch at once.+filter = 'package(codex-core) & kind(test) & test(apply_patch_cli)'+test-group = 'core_apply_patch_cli_integration'++[[profile.default.overrides]]+# These tests create restricted-token Windows child processes and private desktops.+# Serialize them to avoid exhausting Windows session/global desktop resources in CI.+filter = 'package(codex-windows-sandbox) & test(legacy_)'+test-group = 'windows_sandbox_legacy_sessions'