Serialize subprocess-heavy Windows tests

This commit is contained in:
pakrym-oai
2026-05-08 02:18:32 -07:00
parent 5ed4077cfa
commit 420cd739e2
2 changed files with 21 additions and 2 deletions
+19
View File
@@ -11,6 +11,12 @@ max-threads = 1
[test-groups.core_apply_patch_cli_integration]
max-threads = 1
[test-groups.core_cli_stream_integration]
max-threads = 1
[test-groups.codex_exec_integration]
max-threads = 1
[test-groups.windows_sandbox_legacy_sessions]
max-threads = 1
@@ -39,6 +45,19 @@ test-group = 'app_server_integration'
filter = 'package(codex-core) & kind(test) & test(apply_patch_cli)'
test-group = 'core_apply_patch_cli_integration'
[[profile.default.overrides]]
# These tests spawn Codex CLI subprocesses, so serialize them to avoid Windows
# process-startup stalls under the full workspace test run.
filter = 'package(codex-core) & kind(test) & test(cli_stream)'
test-group = 'core_cli_stream_integration'
slow-timeout = { period = "30s", terminate-after = 2 }
[[profile.default.overrides]]
# These tests spawn codex-exec subprocesses and can exceed the default timeout
# when several resume scenarios start simultaneously on Windows CI.
filter = 'package(codex-exec) & kind(test)'
test-group = 'codex_exec_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.
+2 -2
View File
@@ -42,7 +42,7 @@ async fn responses_mode_stream_cli() {
);
let bin = codex_utils_cargo_bin::cargo_bin("codex").unwrap();
let mut cmd = AssertCommand::new(bin);
cmd.timeout(Duration::from_secs(30));
cmd.timeout(Duration::from_secs(60));
cmd.arg("exec")
.arg("--skip-git-repo-check")
.arg("-c")
@@ -106,7 +106,7 @@ async fn responses_mode_stream_cli_supports_openai_base_url_config_override() {
let home = TempDir::new().unwrap();
let bin = codex_utils_cargo_bin::cargo_bin("codex").unwrap();
let mut cmd = AssertCommand::new(bin);
cmd.timeout(Duration::from_secs(30));
cmd.timeout(Duration::from_secs(60));
cmd.arg("exec")
.arg("--skip-git-repo-check")
.arg("-c")