mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
tests(app-server): fix review thread-read borrow
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -244,7 +244,7 @@ async fn review_start_exec_approval_item_id_matches_command_execution_item() ->
|
||||
|
||||
let read_id = mcp
|
||||
.send_thread_read_request(ThreadReadParams {
|
||||
thread_id,
|
||||
thread_id: thread_id.clone(),
|
||||
include_turns: true,
|
||||
})
|
||||
.await?;
|
||||
@@ -257,7 +257,7 @@ async fn review_start_exec_approval_item_id_matches_command_execution_item() ->
|
||||
let turn = thread
|
||||
.turns
|
||||
.iter()
|
||||
.find(|turn| turn.id == turn_id)
|
||||
.find(|turn| turn.id == turn_id.as_str())
|
||||
.expect("did not observe completed review turn in thread/read");
|
||||
let command_execution_item_ids = turn
|
||||
.items
|
||||
|
||||
Reference in New Issue
Block a user