Skip to content

Stabilize shell approval MCP test#14101

Merged
aibrahim-oai merged 1 commit intomainfrom
dev/flaky-mcp-shell-approval-test
Mar 9, 2026
Merged

Stabilize shell approval MCP test#14101
aibrahim-oai merged 1 commit intomainfrom
dev/flaky-mcp-shell-approval-test

Conversation

@aibrahim-oai
Copy link
Copy Markdown
Collaborator

Summary

  • replace the Python-based file creation command in the MCP shell approval test with native platform commands
  • build the expected command string from the exact argv that the test sends

Why this fixes the flake

The old test depended on Python startup and shell quoting details that varied across runners. The new version still verifies the same approval flow, but it uses touch on Unix and New-Item on Windows so the assertion only depends on the MCP shell command that Codex actually forwards.

@aibrahim-oai aibrahim-oai requested review from bolinfest and nornagon-openai and removed request for bolinfest March 9, 2026 17:37
@aibrahim-oai aibrahim-oai merged commit 203a70a into main Mar 9, 2026
31 checks passed
@aibrahim-oai aibrahim-oai deleted the dev/flaky-mcp-shell-approval-test branch March 9, 2026 18:18
@github-actions github-actions bot locked and limited conversation to collaborators Mar 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants