Adam Perry @ OpenAI and GitHub
67009bc53f
mcp: accept foreign absolute cwd for remote stdio ( #29493 )
...
## Why
Remote stdio MCP servers can run in an environment whose path convention
differs from the Codex host. A Windows cwd such as
`C:\Users\openai\share` is absolute for the executor but was rejected by
a POSIX orchestrator.
Built on #29501 , now merged, which only clarifies the host-native
`PathUri` constructor name.
## What changed
- Deserialize MCP cwd values as `LegacyAppPathString` so config does not
apply host path rules.
- Interpret that spelling as host-native for local launches and convert
it to `PathUri` at executor launch.
- Skip host filesystem and command resolution checks for remote stdio in
`codex doctor`.
- Add host-independent config and executor-boundary coverage using the
foreign path convention for each test platform.
## Validation
- `just test -p codex-utils-path-uri -p codex-config -p codex-mcp -p
codex-rmcp-client` (408 passed)
- `just test -p codex-cli -p codex-rmcp-client` (372 passed)
- `cargo check --workspace --tests`
- `just test` (11,311 passed; 43 unrelated environment/timing failures)
- `just fix -p codex-cli -p codex-config -p codex-core -p codex-mcp -p
codex-mcp-extension -p codex-rmcp-client -p codex-tui`
2026-06-23 01:33:51 +00:00
..
2026-06-22 17:31:14 -07:00
2026-06-11 22:26:31 -07:00
2026-03-28 11:23:07 -06:00
2026-06-22 04:25:07 -07:00
2026-06-23 01:15:11 +00:00
2026-05-05 11:17:47 -07:00
2026-06-12 10:19:17 -04:00
2026-06-23 01:33:51 +00:00
2026-05-15 15:04:04 -07:00
2026-05-29 14:01:27 -07:00
2026-05-27 15:11:29 -07:00
2026-04-21 17:10:36 +00:00
2026-06-22 13:03:11 -07:00
2026-05-18 20:24:09 -03:00
2026-04-07 08:03:35 -07:00
2026-06-16 17:33:13 +00:00
2026-06-16 17:33:13 +00:00
2026-06-22 13:19:40 -07:00
2026-05-27 20:14:55 +00:00
2026-06-22 17:31:14 -07:00
2026-05-15 17:10:15 -07:00
2026-06-16 17:59:40 +00:00
2026-06-12 14:20:55 -07:00
2026-06-12 14:20:55 -07:00
2026-06-22 18:45:41 +00:00
2026-06-15 19:25:54 -07:00
2026-06-22 13:19:40 -07:00
2026-06-16 17:59:40 +00:00
2026-06-17 19:52:43 +02:00
2026-04-13 18:27:00 -07:00
2026-05-07 20:31:41 -07:00
2026-05-04 16:11:15 -03:00
2026-06-22 18:45:41 +00:00
2026-05-14 18:51:36 -07:00
2026-05-05 16:18:02 +00:00
2026-06-01 18:01:52 +02:00
2026-05-13 15:40:37 -07:00
2026-03-28 11:23:07 -06:00
2026-06-05 08:32:07 -07:00
2026-06-05 08:32:07 -07:00
2026-06-22 17:31:14 -07:00
2026-04-25 22:00:32 -03:00
2026-06-12 20:10:12 -07:00
2026-04-30 10:52:19 -07:00
2026-06-16 17:33:13 +00:00
2026-03-28 11:23:07 -06:00
2026-06-10 15:53:15 -04:00
2026-06-12 10:19:17 -04:00
2026-06-10 15:19:37 -04:00
2026-06-12 10:19:17 -04:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-06-08 21:32:46 -07:00
2026-06-05 08:34:34 -07:00
2026-06-05 08:32:53 -07:00
2026-06-12 17:14:27 -07:00
2026-05-09 21:17:30 +00:00
2026-05-01 09:39:48 -07:00
2026-05-27 20:14:55 +00:00
2026-05-13 15:33:27 +00:00
2026-05-31 15:42:39 -03:00
2026-06-03 20:28:31 -03:00
2026-06-22 13:03:11 -07:00
2026-03-28 11:23:07 -06:00
2026-04-13 18:27:00 -07:00
2026-06-12 21:23:50 +00:00
2026-06-11 09:56:09 -07:00
2026-06-08 17:02:36 -07:00
2026-06-08 17:02:36 -07:00
2026-05-27 16:18:24 -03:00
2026-06-08 17:02:36 -07:00
2026-05-27 20:14:55 +00:00
2026-05-28 10:30:15 -07:00
2026-04-29 17:22:41 -07:00
2026-04-25 22:00:32 -03:00
2026-05-01 09:07:56 -07:00
2026-06-09 12:14:48 +02:00
2026-04-25 17:09:29 -07:00
2026-05-25 09:53:39 -07:00
2026-05-27 20:14:55 +00:00
2026-05-15 17:10:15 -07:00
2026-04-25 22:00:32 -03:00
2026-06-17 18:52:18 +00:00
2026-03-28 11:23:07 -06:00
2026-05-20 15:57:50 -07:00
2026-06-22 13:03:11 -07:00
2026-05-22 17:19:51 +00:00
2026-06-01 15:14:19 +02:00
2026-06-18 15:06:23 -07:00
2026-03-28 11:23:07 -06:00
2026-04-20 20:46:55 -07:00
2026-06-22 18:45:41 +00:00
2026-06-10 11:24:29 -07:00
2026-06-05 15:32:43 -04:00
2026-06-01 11:49:14 -03:00
2026-05-27 16:18:24 -03:00
2026-05-10 20:42:11 +00:00
2026-05-27 20:14:55 +00:00
2026-06-12 17:33:43 -07:00
2026-06-16 09:09:24 -07:00
2026-04-17 08:39:37 -07:00
2026-06-05 17:23:45 -07:00
2026-03-28 11:23:07 -06:00
2026-06-10 17:55:49 -07:00
2026-05-26 20:59:47 -07:00
2026-05-26 20:59:47 -07:00
2026-06-15 21:39:21 -07:00
2026-05-08 07:56:13 -07:00
2026-04-20 00:37:40 +00:00
2026-06-15 08:23:02 -07:00
2026-06-22 17:31:14 -07:00
2026-03-28 11:23:07 -06:00
2026-05-27 16:45:10 +00:00
2026-05-27 20:14:55 +00:00
2026-04-25 17:09:29 -07:00
2026-06-12 09:26:08 -07:00
2026-06-12 09:26:08 -07:00
2026-06-12 09:26:08 -07:00
2026-03-28 11:23:07 -06:00
2026-04-25 22:00:32 -03:00
2026-06-11 09:23:08 -07:00
2026-06-11 18:16:39 -07:00
2026-06-22 04:25:07 -07:00
2026-06-22 04:25:07 -07:00
2026-05-13 14:19:05 -07:00