From c98047f9b8bc2ff71e96e3a3cfb81dea5c011624 Mon Sep 17 00:00:00 2001 From: starr-openai Date: Tue, 12 May 2026 17:25:52 -0700 Subject: [PATCH] codex: fix CI failure on PR #22199 Co-authored-by: Codex --- codex-rs/tui/src/chatwidget/tests/status_surface_previews.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codex-rs/tui/src/chatwidget/tests/status_surface_previews.rs b/codex-rs/tui/src/chatwidget/tests/status_surface_previews.rs index 93f8e8cb13..23339a7fb4 100644 --- a/codex-rs/tui/src/chatwidget/tests/status_surface_previews.rs +++ b/codex-rs/tui/src/chatwidget/tests/status_surface_previews.rs @@ -105,6 +105,7 @@ async fn status_line_setup_popup_live_only_snapshot() { #[tokio::test] async fn status_surface_preview_lines_hardcoded_only_snapshot() { let (mut chat, _rx, _op_rx) = make_chatwidget_manual(/*model_override*/ None).await; + cache_project_root(&mut chat, "my-project"); let snapshot = combined_preview_snapshot( &mut chat, @@ -159,6 +160,7 @@ async fn status_line_setup_popup_hardcoded_only_snapshot() { #[tokio::test] async fn status_surface_preview_lines_mixed_snapshot() { let (mut chat, _rx, _op_rx) = make_chatwidget_manual(/*model_override*/ None).await; + cache_project_root(&mut chat, "my-project"); chat.status_line_branch = Some("feature/mixed-preview".to_string()); chat.thread_name = Some("Mixed preview thread".to_string());