codex: fix CI failure on PR #13679

This commit is contained in:
Friel
2026-03-05 20:04:50 -08:00
parent c6ac74c681
commit 21366edadf
2 changed files with 7 additions and 6 deletions

View File

@@ -2,12 +2,12 @@
source: tui/src/chatwidget/tests.rs
expression: terminal.backend().vt100().screen().contents()
---
╭──────────────────────────────────────────────
│ >_ OpenAI Codex (v0.0.0)
│ model: loading /model to change
│ directory: ~/code/codex-split/…/codex-rs/tui │
╰──────────────────────────────────────────────
╭───────────────────────────────────────╮
│ >_ OpenAI Codex (v0.0.0) │
│ │
│ model: loading /model to change │
│ directory: /repo/codex-rs/tui
╰───────────────────────────────────────╯
• Subagents (0s • no subagents running • esc to interrupt)
• [#1] [watchdog] watchdog-agent idle — watchdog idle

View File

@@ -2241,6 +2241,7 @@ async fn subagent_panel_is_not_flushed_into_transcript_history() {
#[tokio::test]
async fn subagent_panel_mounts_while_placeholder_active_cell_exists_snapshot() {
let (mut chat, _rx, _op_rx) = make_chatwidget_manual(None).await;
chat.config.cwd = PathBuf::from("/repo/codex-rs/tui");
chat.active_cell = Some(ChatWidget::placeholder_session_header_cell(
chat.config_ref(),
));