From 9618e3002b30f410cd07474a2c7001b4a9ff3d15 Mon Sep 17 00:00:00 2001 From: Friel Date: Thu, 2 Apr 2026 05:01:49 +0000 Subject: [PATCH] test(tui): refresh chatwidget collab test fixtures --- codex-rs/tui/src/chatwidget/tests/app_server.rs | 1 + codex-rs/tui/src/chatwidget/tests/helpers.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/codex-rs/tui/src/chatwidget/tests/app_server.rs b/codex-rs/tui/src/chatwidget/tests/app_server.rs index 2cabed2cc8..8e81b70c20 100644 --- a/codex-rs/tui/src/chatwidget/tests/app_server.rs +++ b/codex-rs/tui/src/chatwidget/tests/app_server.rs @@ -28,6 +28,7 @@ async fn collab_spawn_end_shows_requested_model_and_effort() { prompt: "Explore the repo".to_string(), model: "gpt-5".to_string(), reasoning_effort: ReasoningEffortConfig::High, + spawn_mode: AgentSpawnMode::Spawn, status: AgentStatus::PendingInit, }), }); diff --git a/codex-rs/tui/src/chatwidget/tests/helpers.rs b/codex-rs/tui/src/chatwidget/tests/helpers.rs index 46a4129a45..a72731b2a7 100644 --- a/codex-rs/tui/src/chatwidget/tests/helpers.rs +++ b/codex-rs/tui/src/chatwidget/tests/helpers.rs @@ -287,6 +287,8 @@ pub(super) async fn make_chatwidget_manual( realtime_conversation: RealtimeConversationUiState::default(), last_rendered_user_message_event: None, last_non_retry_error: None, + subagent_panel: None, + last_replayed_agent_inbox_message: None, }; widget.set_model(&resolved_model); (widget, rx, op_rx)