fix(app-server): preserve dynamic tool schema diagnostics

This commit is contained in:
Alex Kotliarskyi
2026-05-21 12:08:29 -07:00
parent 8677b878cc
commit 03190e8fd3
33 changed files with 1832 additions and 62 deletions
@@ -40,6 +40,7 @@ fn failed_turn_does_not_overwrite_output_last_message_file() {
message: "turn failed".to_string(),
additional_details: None,
codex_error_info: None,
data: None,
}),
started_at: None,
completed_at: Some(0),
@@ -1530,6 +1530,7 @@ fn failed_turn_clears_stale_final_message() {
message: "turn failed".to_string(),
additional_details: None,
codex_error_info: None,
data: None,
}),
started_at: None,
completed_at: None,
@@ -1586,6 +1587,7 @@ fn turn_failure_prefers_structured_error_message() {
message: "backend failed".to_string(),
codex_error_info: None,
additional_details: Some("request id abc".to_string()),
data: None,
},
will_retry: false,
thread_id: "thread-1".to_string(),