Skip to content

fix: keep Codex verification for development sandboxed - #4508

Merged
seratch merged 1 commit into
mainfrom
fix/sandbox-code-verification
Aug 18, 2026
Merged

seratch merged 1 commit into
mainfrom
fix/sandbox-code-verification

Conversation

@seratch

@seratch seratch commented Aug 18, 2026 •

Copy link
Copy Markdown
Member

This pull request fixes a verification policy that instructed Codex to execute repository-controlled verification outside its workspace sandbox.

It keeps the verification wrapper and its child processes sandboxed, skips only explicitly marked tests that require a native macOS sandbox when running under Codex, and executes those tests on a disposable macOS CI runner.

It also keeps the native pause/resume test's mock-tool log within its existing writable grant and replaces incidental UnixLocalSandboxSession usage in backend-neutral memory and event-sink tests with a process-free filesystem test session. Real UnixLocalSandboxSession coverage remains reserved for tests that intentionally validate native confinement and lifecycle behavior.

Regression coverage verifies the sandboxed command, collection policy, native marker boundary, and process-free test-session behavior.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df7cd8d1a5

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/conftest.py Resolved
@seratch
seratch force-pushed the fix/sandbox-code-verification branch from df7cd8d to 816a4f8 Compare August 18, 2026 11:40
@seratch
seratch enabled auto-merge (squash) August 18, 2026 11:45
@seratch
seratch merged commit ebb746d into main Aug 18, 2026
17 checks passed
@seratch
seratch deleted the fix/sandbox-code-verification branch August 18, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant