diff --git a/codex-rs/core/tests/suite/unified_exec_launch_failure_tests.rs b/codex-rs/core/tests/suite/unified_exec_launch_failure_tests.rs index fcabe0953f..c564cbefae 100644 --- a/codex-rs/core/tests/suite/unified_exec_launch_failure_tests.rs +++ b/codex-rs/core/tests/suite/unified_exec_launch_failure_tests.rs @@ -185,13 +185,14 @@ decision = "prompt" test.codex .submit(Op::ExecApproval { id: prompt.effective_approval_id(), - turn_id: Some(prompt.turn_id), + turn_id: Some(prompt.turn_id.clone()), decision, }) .await?; gate.entered.notified().await; if stop_after_decline { + assert_eq!(test.codex.current_turn_id().await, Some(prompt.turn_id)); test.codex.submit(Op::Interrupt).await?; } // The sibling should stop even while history is waiting to record the decline.