Repository navigation
Fix MacOS multiprocessing by relaxing sandbox - #1808
Merged
Merged
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
davidhao3300
marked this pull request as ready for review
August 3, 2025 06:03
Contributor
Author
|
recheck |
davidhao3300
enabled auto-merge (squash)
August 3, 2025 06:10
davidhao3300
disabled auto-merge
August 3, 2025 06:10
davidhao3300
enabled auto-merge (squash)
August 3, 2025 06:11
nornagon-openai
approved these changes
Aug 3, 2025
nornagon-openai
left a comment
Contributor
There was a problem hiding this comment.
Seems safe. I looked at the docs for this and don’t think this is a significant risk.
bolinfest
reviewed
Aug 3, 2025
bolinfest
left a comment
Collaborator
There was a problem hiding this comment.
This PR needs a test to illustrate/verify what this allows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following test script fails in the codex sandbox:
with
After reading, adding this line to the sandbox configs fixes things - MacOS multiprocessing appears to use sem_lock(), which opens an IPC which is considered a disk write even though no file is created. I interrogated ChatGPT about whether it's okay to loosen, and my impression after reading is that it is, although would appreciate a close look
Breadcrumb: You can run
cargo run -- debug seatbelt --full-auto <cmd>to test the sandbox