Skip to content

Conversation

@lionel-oai
Copy link
Contributor

@lionel-oai lionel-oai commented Nov 26, 2025

This PR should close #7267 (and also #7311 which is a closed duplicate) where codex accidentally changed some files as part of the review process.

The review turn context in core/src/codex.rs::spawn_review_thread now forces SandboxPolicy::ReadOnly, so /review always runs under a read-only sandbox regardless of the parent session’s sandbox mode.

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a 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 lionel-oai added the bug Something isn't working label Nov 26, 2025
@etraut-openai
Copy link
Collaborator

@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 /review in that case?

@etraut-openai etraut-openai added the needs-response Additional information is requested label Nov 26, 2025
@lionel-oai
Copy link
Contributor Author

I've just passed the code review feedback from codex and tested with just codex on this specific branch on my MacOS:

Screenshot 2025-11-27 at 15 41 09

Will build Windows exec and try it out on my Windows VM later

@etraut-openai
Copy link
Collaborator

@codex review

@etraut-openai etraut-openai removed the needs-response Additional information is requested label Nov 27, 2025
@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. Can't wait for the next one!

ℹ️ 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
Copy link
Contributor Author

Just tried on my Windows VM - a simple review seems to work without any issues @etraut-openai :)

Screenshot 2025-11-27 at 18 05 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I asked codex to do a /review and it started editing files and making changes to the codebase that was never requested

4 participants