Skip to content

Fix Linux sandbox startup when the policy workspace is missing - #11

Merged
friel-openai merged 1 commit into
mainfrom
dev/friel/remote-sandbox-cwd-ci
Nov 9, 2026
Merged

friel-openai merged 1 commit into
mainfrom
dev/friel/remote-sandbox-cwd-ci

Conversation

@friel-openai

Copy link
Copy Markdown
Owner

When a Linux executor runs a command from a directory other than its policy workspace, the policy workspace may not exist on that executor. Several metadata and deny rules can then resolve to the same missing ancestor. Bubblewrap rejects a second bind-data mount at that destination before the command runs.

Layer 0037-missing-workspace-metadata reuses identical missing-file masks after validating each rule. It reapplies masks after a writable or registry bind that can shadow them. The change does not alter the command working directory or the configured filesystem grants.

Required CI selects both cases: a missing policy workspace and an existing local workspace. Each case checks the command working directory, deny masks, protected metadata, and an allowed write. The public-only replay and all 15 selector tests passed locally; the draft starts the required Linux run.

Codex Task: codex://threads/01a1bce6-4b1b-7902-a5a6-5b48fb32610e

@friel-openai friel-openai added the codex-linux-sandbox Linux sandbox helper and policy label Nov 9, 2026
@friel-openai
friel-openai marked this pull request as ready for review November 9, 2026 01:44
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T01:45:38.847081Z 98c516e Draft marked ready
ℹ️ 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.

@friel-openai
friel-openai merged commit 56ab620 into main Nov 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex-linux-sandbox Linux sandbox helper and policy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant