From 9232ea75ac86ac77360af6818e1f3528912275be Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Mon, 8 Jun 2026 09:57:04 -0700 Subject: [PATCH] Fix goal integration test compilation --- codex-rs/app-server/tests/suite/v2/turn_start.rs | 2 +- codex-rs/core/tests/suite/initial_goal.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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