mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
Compare tool call metadata in the recorder refresh test (#49408)
## What changed Update the replay assertion in the recorder refresh test to compare `executed_tool_call_metadata()` instead of entire response items. This keeps the assertion focused on preserving recorded tool call metadata across a configuration refresh. GitOrigin-RevId: 763173a918f4e0bc79c3c04466453cafb9629775
This commit is contained in:
committed by
copyberry
parent
67352b5b4a
commit
bd5185820d
@@ -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}"));
|
||||
|
||||
Reference in New Issue
Block a user