Lightweight coding agent that runs in your terminal
Rust
Box the resume future in the agents overview permissions test (#49822)
sayan-oai799324821d36
diff --git a/codex-rs/tui/src/app/agents_overview_tests.rs b/codex-rs/tui/src/app/agents_overview_tests.rsindex 125a1366c2..0b94b2b7aa 100644--- a/codex-rs/tui/src/app/agents_overview_tests.rs+++ b/codex-rs/tui/src/app/agents_overview_tests.rs@@ -1847,7 +1847,7 @@ async fn overview_selection_applies_user_permissions_only_to_unloaded_threads()// The picker must also abort when a session-only choice violates destination policy.std::fs::write(&requirements, "allowed_approval_policies = [\"never\"]\n")?;app.harness_overrides.approval_policy = Some(codex_protocol::protocol::AskForApproval::Never);- app.resume_target_session(+ Box::pin(app.resume_target_session(&mut tui,&mut app_server,SessionTarget {@@ -1856,7 +1856,7 @@ async fn overview_selection_applies_user_permissions_only_to_unloaded_threads()cwd: None,history_mode: None,},- )+ )).await?;assert_eq!(app.primary_thread_id, Some(thread_ids[3]));assert_eq!(