Keep MCP patch approval test unsandboxed

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-05-11 11:32:05 -07:00
parent 751f9eb451
commit a138bc4c91
2 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,4 @@ load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "mcp-server",
crate_name = "codex_mcp_server",
extra_binaries = [
"//codex-rs/bwrap:bwrap",
],
)

View File

@@ -261,6 +261,10 @@ async fn patch_approval_triggers_elicitation() -> anyhow::Result<()> {
.send_codex_tool_call(CodexToolCallParam {
cwd: Some(cwd.path().to_string_lossy().to_string()),
prompt: "please modify the test file".to_string(),
config: Some(HashMap::from([(
"sandbox_mode".to_string(),
json!("danger-full-access"),
)])),
..Default::default()
})
.await?;