Lightweight coding agent that runs in your terminal
Rust
Compare tool call metadata in the recorder refresh test (#49408)
Ruslan Nigmatullinbd5185820df8
diff --git a/codex-rs/core/src/tools/executed_tool_calls/request_metadata_tests.rs b/codex-rs/core/src/tools/executed_tool_calls/request_metadata_tests.rsindex 9b75f4d4ac..b4ffbc8276 100644--- a/codex-rs/core/src/tools/executed_tool_calls/request_metadata_tests.rs+++ b/codex-rs/core/src/tools/executed_tool_calls/request_metadata_tests.rs@@ -537,7 +537,10 @@ async fn recorder_refreshes_without_changing_execution_features_or_claiming_miss// Replay the same history item across the configuration refresh.replay.set_id(direct_output.id().cloned());calls.attach_direct_call_to_output(&mut replay, prepared);- assert_eq!(replay, direct_output);+ assert_eq!(+ replay.executed_tool_call_metadata(),+ direct_output.executed_tool_call_metadata()+ );}let cell = CellId::new(format!("cell-{index}"));