Skip to content

Centralize sandbox network and shell credential setup - #62050

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e2f3b543680c9184b6557b81de02a61f0a977e32
Nov 17, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Centralize sandbox network and shell credential setup

Why

A missing executor proxy launch config can still require managed networking. Only an explicitly disabled executor proxy should suppress that enforcement.

What changed

  • Prepare executor proxy launch settings and enforcement together, preserving the distinction between missing and disabled proxy configurations.
  • Bundle sandbox enforcement, the live proxy, and the environment ID in SandboxNetwork, retaining the proxy through shell snapshot setup.
  • Share shell-startup credential classification and application through ShellStartupCredentials, including protected zsh snapshots, supported bash -c commands, and unmasked fallback handling.

Testing

Extend the exec-server sandbox preparation test to verify that an explicitly disabled proxy omits both the proxy launch config and managed-network enforcement.

## Why

A missing executor proxy launch config can still require managed networking. Only an explicitly disabled executor proxy should suppress that enforcement.

## What changed

- Prepare executor proxy launch settings and enforcement together, preserving the distinction between missing and disabled proxy configurations.
- Bundle sandbox enforcement, the live proxy, and the environment ID in `SandboxNetwork`, retaining the proxy through shell snapshot setup.
- Share shell-startup credential classification and application through `ShellStartupCredentials`, including protected `zsh` snapshots, supported `bash -c` commands, and unmasked fallback handling.

## Testing

Extend the exec-server sandbox preparation test to verify that an explicitly disabled proxy omits both the proxy launch config and managed-network enforcement.

GitOrigin-RevId: e2f3b543680c9184b6557b81de02a61f0a977e32
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e2f3b543680c9184b6557b81de02a61f0a977e32 branch from c696ca0 to 05ae1b0 Compare November 17, 2026 13:53
@copyberry
copyberry Bot merged commit 05ae1b0 into main Nov 17, 2026
9 of 23 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-17T13:53:25.269412Z c696ca0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e2f3b543680c9184b6557b81de02a61f0a977e32 branch November 17, 2026 13:53
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 17, 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