Skip to content

[codex] fix builtin MCP Windows path test#21350

Merged
jif-oai merged 1 commit into
mainfrom
codex/fix-builtin-mcps-windows-path
May 6, 2026
Merged

[codex] fix builtin MCP Windows path test#21350
jif-oai merged 1 commit into
mainfrom
codex/fix-builtin-mcps-windows-path

Conversation

@jif-oai

@jif-oai jif-oai commented May 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • make the builtin MCP config test derive the expected --codex-home argument from AbsolutePathBuf

Why

AbsolutePathBuf::try_from("/tmp/codex-home") is rendered as D:\\tmp\\codex-home on Windows, but the test asserted the Unix literal "/tmp/codex-home". That made the Windows Bazel job fail even though the production code was behaving correctly.

Impact

This keeps the test cross-platform while preserving the same transport assertion on Unix and Windows.

Validation

  • cargo test -p codex-builtin-mcps

Co-authored-by: Codex <noreply@openai.com>
@jif-oai jif-oai marked this pull request as ready for review May 6, 2026 13:47
@jif-oai jif-oai merged commit ebd9ec0 into main May 6, 2026
25 of 27 checks passed
@jif-oai jif-oai deleted the codex/fix-builtin-mcps-windows-path branch May 6, 2026 14:06
@github-actions github-actions Bot locked and limited conversation to collaborators May 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant