GitHub @codex review fails on PR with 'Script exited with code 1'
Resolved 💬 1 comment Opened Sep 16, 2025 by penkzhou Closed Jan 17, 2026
What version of Codex is running?
codex-cli 0.36.0
Which model were you using?
GitHub Codex Review integration default model (appears to be o4-mini; the UI does not expose the exact configuration).
What platform is your computer?
Darwin 24.6.0 arm64 arm
What steps can reproduce the bug?
- Push a branch to a private repository that has the ChatGPT Codex Connector GitHub App installed and open a pull request.
- Either wait for Codex to start its automatic review or manually trigger it by commenting "@codex review" on the pull request.
- Observe the Codex bot response.
What is the expected behavior?
Codex should successfully complete the code review and provide feedback, or at minimum surface actionable error details that indicate why the review could not run.
What do you see instead?
Codex posts a comment saying Codex Review: Something went wrong. Try again later by commenting "@codex review". and attaches the snippet Script failed: Script exited with code 1 without any additional context or logs. Example failure comment ID: 3294666625 (from a private repository pull request).
Additional information
- The repository has the ChatGPT Codex Connector GitHub App installed, and previous pull requests were reviewed successfully.
- The failure happened around 2025-09-16 03:00 UTC, and re-running the review on the same pull request reproduces the error reliably.
- GitHub’s UI does not expose further execution logs, so it is unclear whether the failure occurs in the Codex infrastructure or due to repository-side configuration.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗