From 799324821d36a822923cee7814d3b80f7ec3cf99 Mon Sep 17 00:00:00 2001 From: sayan-oai Date: Thu, 1 Oct 2026 02:06:44 +0000 Subject: [PATCH] Box the resume future in the agents overview permissions test (#49822) GitOrigin-RevId: c56597b54aee83d07a05f94258b420e81a859229 --- codex-rs/tui/src/app/agents_overview_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/tui/src/app/agents_overview_tests.rs b/codex-rs/tui/src/app/agents_overview_tests.rs index 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!(