Skip to content

Select the elevated Windows sandbox for network proxies#33445

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e01ac052587721c468a8fbcf4e2c7c5a185a3e05
Jul 15, 2026
Merged

Select the elevated Windows sandbox for network proxies#33445
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e01ac052587721c468a8fbcf4e2c7c5a185a3e05

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 15, 2026

Copy link
Copy Markdown

Select the elevated Windows sandbox for network proxies

Why

Windows firewall enforcement is tied to the logon-user sandbox identities. Proxy-enforced commands therefore need the elevated backend even when the configured sandbox mode is the default restricted-token mode.

What changed

  • Select the elevated Windows sandbox backend whenever a command uses the managed network proxy.
  • Remove configuration and startup checks that required users or managed requirements to select the elevated sandbox explicitly.
  • Start and expose managed network proxy state consistently on Windows.

Testing

  • Verify that proxy enforcement selects the elevated backend for the restricted-token sandbox mode.

## Why

Windows firewall enforcement is tied to the logon-user sandbox identities. Proxy-enforced commands therefore need the elevated backend even when the configured sandbox mode is the default restricted-token mode.

## What changed

- Select the elevated Windows sandbox backend whenever a command uses the managed network proxy.
- Remove configuration and startup checks that required users or managed requirements to select the elevated sandbox explicitly.
- Start and expose managed network proxy state consistently on Windows.

## Testing

- Verify that proxy enforcement selects the elevated backend for the restricted-token sandbox mode.

GitOrigin-RevId: e01ac052587721c468a8fbcf4e2c7c5a185a3e05
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e01ac052587721c468a8fbcf4e2c7c5a185a3e05 branch from fe96938 to 4bc2c72 Compare July 15, 2026 23:20
@copyberry
copyberry Bot merged commit 4bc2c72 into main Jul 15, 2026
12 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e01ac052587721c468a8fbcf4e2c7c5a185a3e05 branch July 15, 2026 23:21
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 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