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:
Ruslan Nigmatullin
2026-09-30 00:23:07 +00:00
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}"));