diff --git a/codex-rs/app-server/tests/suite/v2/turn_start.rs b/codex-rs/app-server/tests/suite/v2/turn_start.rs index 50e078318a..7a51d1b8c3 100644 --- a/codex-rs/app-server/tests/suite/v2/turn_start.rs +++ b/codex-rs/app-server/tests/suite/v2/turn_start.rs @@ -476,7 +476,7 @@ async fn turn_start_goal_replaces_existing_goal_and_continues() -> Result<()> { ), ( thread.id.clone(), - goal_cwd.try_into()?, + goal_cwd.clone().try_into()?, codex_app_server_protocol::AskForApproval::Never, codex_app_server_protocol::SandboxPolicy::DangerFullAccess, "mock-model".to_string(), diff --git a/codex-rs/core/tests/suite/initial_goal.rs b/codex-rs/core/tests/suite/initial_goal.rs index 4d9f33cd17..1b0a4352fc 100644 --- a/codex-rs/core/tests/suite/initial_goal.rs +++ b/codex-rs/core/tests/suite/initial_goal.rs @@ -123,7 +123,7 @@ async fn initial_goal_starts_one_turn_and_rejects_a_concurrent_goal() -> Result< _ => None, }) .await; - server.wait_for_request_count(1).await; + server.wait_for_request_count(/*count*/ 1).await; let second_error = match test .codex