Repository navigation
Use a compatible PowerShell fallback for the Windows MXC sandbox - #49019
Merged
copyberry[bot] merged 1 commit intoSep 28, 2026
Conversation
) ## Why Microsoft Store PowerShell cannot run under MXC. The existing fallback to an unpackaged PowerShell executable only applied to the elevated Windows sandbox. ## What changed Extend local PowerShell fallback discovery to MXC in `unified_exec`, using the executor's Windows sandbox selection. Keep discovery local and automatic `-NoProfile` insertion specific to the elevated sandbox. Skip this preparation for non-Windows target paths. ## Testing Extend command-preparation tests to cover MXC and add a Windows integration test that replaces a Store PowerShell path before launch, writes a file successfully, and verifies `windows_mxc` sandbox metadata. GitOrigin-RevId: 6c581396525a8fec7e1fb538b3e63b0de2ddb926
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/6c581396525a8fec7e1fb538b3e63b0de2ddb926
branch
from
September 28, 2026 15:58
7eee4be to
4fd5745
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/6c581396525a8fec7e1fb538b3e63b0de2ddb926
branch
September 28, 2026 15:58
accr-btovar
temporarily deployed
to
issue-triage
September 28, 2026 16:00 — with
GitHub Actions
Inactive
accr-btovar
temporarily deployed
to
issue-triage
September 28, 2026 16:00 — with
GitHub Actions
Inactive
accr-btovar
temporarily deployed
to
issue-triage
September 28, 2026 16:00 — with
GitHub Actions
Inactive
accr-btovar
temporarily deployed
to
issue-triage
September 28, 2026 16:01 — with
GitHub Actions
Inactive
gadzbi123
temporarily deployed
to
issue-triage
September 28, 2026 16:12 — with
GitHub Actions
Inactive
gadzbi123
temporarily deployed
to
issue-triage
September 28, 2026 16:12 — with
GitHub Actions
Inactive
gadzbi123
temporarily deployed
to
issue-triage
September 28, 2026 16:12 — with
GitHub Actions
Inactive
gadzbi123
temporarily deployed
to
issue-triage
September 28, 2026 16:13 — with
GitHub Actions
Inactive
yeatdev
temporarily deployed
to
issue-triage
September 28, 2026 16:16 — with
GitHub Actions
Inactive
yeatdev
temporarily deployed
to
issue-triage
September 28, 2026 16:16 — with
GitHub Actions
Inactive
yeatdev
temporarily deployed
to
issue-triage
September 28, 2026 16:16 — with
GitHub Actions
Inactive
yeatdev
temporarily deployed
to
issue-triage
September 28, 2026 16:17 — with
GitHub Actions
Inactive
h13736313-code
temporarily deployed
to
issue-triage
September 28, 2026 16:28 — with
GitHub Actions
Inactive
h13736313-code
temporarily deployed
to
issue-triage
September 28, 2026 16:28 — with
GitHub Actions
Inactive
h13736313-code
temporarily deployed
to
issue-triage
September 28, 2026 16:28 — with
GitHub Actions
Inactive
YouRoPlay
temporarily deployed
to
issue-triage
September 28, 2026 16:31 — with
GitHub Actions
Inactive
YouRoPlay
temporarily deployed
to
issue-triage
September 28, 2026 16:31 — with
GitHub Actions
Inactive
YouRoPlay
temporarily deployed
to
issue-triage
September 28, 2026 16:31 — with
GitHub Actions
Inactive
YouRoPlay
temporarily deployed
to
issue-triage
September 28, 2026 16:33 — with
GitHub Actions
Inactive
ruimpsousa-jpg
temporarily deployed
to
issue-triage
September 28, 2026 16:37 — with
GitHub Actions
Inactive
ruimpsousa-jpg
temporarily deployed
to
issue-triage
September 28, 2026 16:37 — with
GitHub Actions
Inactive
ruimpsousa-jpg
temporarily deployed
to
issue-triage
September 28, 2026 16:37 — with
GitHub Actions
Inactive
TechnikEmpire
temporarily deployed
to
issue-triage
September 28, 2026 16:38 — with
GitHub Actions
Inactive
TechnikEmpire
temporarily deployed
to
issue-triage
September 28, 2026 16:38 — with
GitHub Actions
Inactive
TechnikEmpire
temporarily deployed
to
issue-triage
September 28, 2026 16:38 — with
GitHub Actions
Inactive
ruimpsousa-jpg
temporarily deployed
to
issue-triage
September 28, 2026 16:38 — with
GitHub Actions
Inactive
TechnikEmpire
temporarily deployed
to
issue-triage
September 28, 2026 16:39 — with
GitHub Actions
Inactive
brentjreynolds
temporarily deployed
to
issue-triage
September 28, 2026 16:45 — with
GitHub Actions
Inactive
brentjreynolds
temporarily deployed
to
issue-triage
September 28, 2026 16:45 — with
GitHub Actions
Inactive
brentjreynolds
temporarily deployed
to
issue-triage
September 28, 2026 16:45 — with
GitHub Actions
Inactive
This branch was previously deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Use a compatible PowerShell fallback for the Windows MXC sandbox
Why
Microsoft Store PowerShell cannot run under MXC. The existing fallback to an unpackaged PowerShell executable only applied to the elevated Windows sandbox.
What changed
Extend local PowerShell fallback discovery to MXC in
unified_exec, using the executor's Windows sandbox selection. Keep discovery local and automatic-NoProfileinsertion specific to the elevated sandbox. Skip this preparation for non-Windows target paths.Testing
Extend command-preparation tests to cover MXC and add a Windows integration test that replaces a Store PowerShell path before launch, writes a file successfully, and verifies
windows_mxcsandbox metadata.