Skip to content

Add a CLI command to uninstall the legacy Windows sandbox - #50437

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d2b02ef7bc0a05742dd5eb3c47292ad517d46664
Oct 2, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d2b02ef7bc0a05742dd5eb3c47292ad517d46664

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Add a CLI command to uninstall the legacy Windows sandbox

What changed

Add codex sandbox uninstall to remove machine-wide legacy Windows sandbox accounts and network rules with administrator privileges. Run cleanup without loading configuration, preserving Codex home, sandbox directories, and filesystem permissions. Reject the command on other platforms.

Keep commands after -- forwarded to the sandbox, including codex sandbox -- uninstall --help.

Testing

Add parsing coverage for the uninstall subcommand and command separator. Add an integration test verifying that help and invalid arguments work with malformed configuration and leave configuration and credentials unchanged.

## What changed

Add `codex sandbox uninstall` to remove machine-wide legacy Windows sandbox accounts and network rules with administrator privileges. Run cleanup without loading configuration, preserving Codex home, sandbox directories, and filesystem permissions. Reject the command on other platforms.

Keep commands after `--` forwarded to the sandbox, including `codex sandbox -- uninstall --help`.

## Testing

Add parsing coverage for the uninstall subcommand and command separator. Add an integration test verifying that help and invalid arguments work with malformed configuration and leave configuration and credentials unchanged.

GitOrigin-RevId: d2b02ef7bc0a05742dd5eb3c47292ad517d46664
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/d2b02ef7bc0a05742dd5eb3c47292ad517d46664 branch from 4ff0c27 to 12a30d4 Compare October 2, 2026 21:51
@copyberry
copyberry Bot merged commit 12a30d4 into main Oct 2, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/d2b02ef7bc0a05742dd5eb3c47292ad517d46664 branch October 2, 2026 21:52
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@github-actions github-actions Bot locked and limited conversation to collaborators Oct 2, 2026
@Ante-PoDs
Ante-PoDs deployed to issue-triage October 2, 2026 22:00 — with GitHub Actions Active
@Ante-PoDs
Ante-PoDs deployed to issue-triage October 2, 2026 22:00 — with GitHub Actions Active
@Ante-PoDs
Ante-PoDs deployed to issue-triage October 2, 2026 22:00 — with GitHub Actions Active
@Ante-PoDs
Ante-PoDs deployed to issue-triage October 2, 2026 22:01 — with GitHub Actions Active
@iamganesha
iamganesha deployed to issue-triage October 2, 2026 22:10 — with GitHub Actions Active
@iamganesha
iamganesha deployed to issue-triage October 2, 2026 22:10 — with GitHub Actions Active
@iamganesha
iamganesha deployed to issue-triage October 2, 2026 22:10 — with GitHub Actions Active
@trackdalf-ui
trackdalf-ui deployed to issue-triage October 2, 2026 22:11 — with GitHub Actions Active
@trackdalf-ui
trackdalf-ui deployed to issue-triage October 2, 2026 22:11 — with GitHub Actions Active
@trackdalf-ui
trackdalf-ui deployed to issue-triage October 2, 2026 22:11 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 12a30d4e Deployed Oct 2, 2026 by trackdalf-ui via Identify potential duplicates (all issues) #51175
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.

5 participants