From 7aab4b04bf80d8385b1e33e8b03e3da2100ed9fe Mon Sep 17 00:00:00 2001 From: Boyang Niu Date: Tue, 23 Jun 2026 13:18:50 -0700 Subject: [PATCH] [codex] Fix stale approval policy in MCP test (#29704) ## Summary - replace the removed `AskForApproval::OnFailure` variant in the MCP shutdown test with `OnRequest` ## Why `OnFailure` was removed from `AskForApproval`, but this test fixture still referenced it, causing Rust and Clippy compilation failures. ## Validation - `just test -p codex-mcp shutdown_continues_after_caller_is_aborted` - `just fmt`