-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fix: put read-only permission in review thread #7320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: lionelchg <[email protected]>
There was a problem hiding this comment.
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.
ℹ️ 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".
|
@lionel-oai, thanks for the PR. Please look at the code review feedback from codex. Also, it's not clear to me how this change will work on Windows (non-WSL) if the experimental sandbox feature isn't enabled. Does it break |
Signed-off-by: lionelchg <[email protected]>
Signed-off-by: lionelchg <[email protected]>
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Just tried on my Windows VM - a simple review seems to work without any issues @etraut-openai :)
|


This PR should close #7267 (and also #7311 which is a closed duplicate) where
codexaccidentally changed some files as part of the review process.The review turn context in
core/src/codex.rs::spawn_review_threadnow forcesSandboxPolicy::ReadOnly, so/reviewalways runs under a read-only sandbox regardless of the parent session’s sandbox mode.