From 4083a68f88375bb0bc90a41b8c454d9e2d7c5281 Mon Sep 17 00:00:00 2001 From: felixxia-oai Date: Thu, 24 Sep 2026 12:01:54 +0000 Subject: [PATCH] Allow four concurrent threads in the multi-agent resume test (#47824) Raise `max_concurrent_threads_per_session` from 3 to 4 in the test configuration so the root, worker, grandchild, and sibling can all remain resident until explicit shutdown. GitOrigin-RevId: 564fd7bd64d2a91c160437f7346c7e17a30a5f2a --- codex-rs/core/tests/suite/multi_agent_resume.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codex-rs/core/tests/suite/multi_agent_resume.rs b/codex-rs/core/tests/suite/multi_agent_resume.rs index b263522d6f..d9de811116 100644 --- a/codex-rs/core/tests/suite/multi_agent_resume.rs +++ b/codex-rs/core/tests/suite/multi_agent_resume.rs @@ -149,7 +149,8 @@ fn configure_multi_agent_v2_with_role( .expect("test config should allow feature update"); config.multi_agent_v2.subagent_developer_instructions = Some(SUBAGENT_DEVELOPER_INSTRUCTIONS.to_string()); - config.multi_agent_v2.max_concurrent_threads_per_session = 3; + // Keep the root, worker, grandchild, and sibling resident until explicit shutdown. + config.multi_agent_v2.max_concurrent_threads_per_session = 4; let role_path = config.codex_home.join("durable-worker-role.toml"); std::fs::write( &role_path,