Repository navigation
chore(upstream): sync Codex 0.160.1 - #290
Merged
Merged
Conversation
Backport #50129 to the 0.160 release line so a Unix host can start remote stdio MCP servers on Windows when explicit remote environment variables are configured. Preserve `SYSTEMROOT`, `TEMP`, and `TMP` in the remote environment allowlist. The existing regression test checks these variables survive while unrequested secrets remain excluded. This is the exact single-file patch from #50129, based on the immutable 0.160.0 release's content commit (`cb7799623b2241f536d799f2d46259148fb987ce`). No unrelated main changes are included. Validation: - Patch ID matches #50129 exactly: `990a7674801ac5adbc6c8c6380568e18b3d396e2`. - `cargo build -p codex-cli --bin codex` passed. - `just test -p codex-rmcp-client`: 332 passed, 9 skipped, 4 setup failures initially. After building the CLI, all three `streamable_http_remote` integration tests passed on retry. The remaining OAuth auth-status test cannot create its lock directory in the read-only local home. - The remote environment filtering regression passed, including preservation of Windows variables and exclusion of unrequested secrets. - Core MCP environment-propagation integration validation is in progress. - The supported publisher dry run selects 0.160.1 from the exact candidate SHA. CI currently reports unrelated failures in unchanged formatter tests, lint imports, spelling checks, manifest-feature exceptions, and unlinked-file checks. The Linux and Windows production build checks passed; remaining checks are running.
- Preserve `SYSTEMROOT`, `TEMP`, and `TMP` when launching remote stdio MCP servers with explicitly configured remote environment variables, allowing Unix hosts to retain the Windows executor's startup environment. ## Changelog - [#51121](openai/codex#51121): Backport Windows remote MCP environment preservation to 0.160.
sunerpy
enabled auto-merge
October 5, 2026 19:53
Owner
Author
|
Auto-merge is queued ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This candidate merges exact Codex release
rust-v0.160.1(d27764b82f7118f674371e6d6e76271d9d606edb) into the reviewed Zuno sourcemain@16fbcbb74e8a292f65f81232bc18da8d557bed5f. The head commit's first parent is thatmaincommit and its second parent is the release commit, so the diff below is exactly the upstream change plus regenerated derived artifacts.It was prepared in an isolated CI worktree by the scheduled upstream watcher, which force-updates this branch whenever
mainmoves so the candidate always builds on the current reviewed source. Merging is the review gate: manual, or queued for GitHub auto-merge behindzuno/pr-gatewhenUPSTREAM_CODEX.tomlsets[sync].automatic_merge = trueand this replay needed no manual resolution.Upstream changed 2 files; the Zuno delta touches 957 files.
1 paths are modified on both sides (merged cleanly with the Codex baseline as merge base, or resolved by the rebrand replay below):
codex-rs/Cargo.toml1 commits exist only on the previous Codex release branch and are not part of the new tag:
a956835d020762cb2b570053af06f643a11c0ecc ## New FeaturesRebrand replay
FORK_REBRAND.tomlresolved 0 rename-only conflicted paths, removed 0 paths that upstream deleted, refreshed 33 rebranded paths with new upstream text, rebranded 0 new upstream snapshots, and reused 0 edits from the previous candidate. 0 paths still carry markers for hunks it could not prove rename-only.Refreshed rebranded files (33)
codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_cli_confirmation.snapcodex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snapcodex-rs/tui/src/app/snapshots/codex_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snapcodex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snapcodex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snapcodex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snapcodex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snapcodex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snapcodex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_server_auth_not_required.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_server_auth_required.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_enterprise_monthly_credit_limit.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_chatgpt_plan_without_email.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_refreshing_limits_notice.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_treats_refreshing_empty_limits_as_unavailable.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_wraps_enterprise_monthly_credit_details_in_narrow_terminal.snapcodex-rs/tui/src/status/snapshots/codex_tui__status__tests__transcript_overlay_status_rate_limit_refresh.snapRelease flow
zuno/pr-gatebuilds, smokes, attests, and seals the six platform packages for the exact head SHA.zuno-release.ymlthen promotes the sealed bytes of this PR head tozuno-v0.160.1without rebuilding.Zuno-Source-Commit: 16fbcbb
Zuno-Upstream-Tag: rust-v0.160.1
Zuno-Upstream-Commit: d27764b
Zuno-Candidate-Commit: eff73de