I’ve just added a project to Codex. I ask it to do something and it pops up with a log sayins it’s prepaing the environment. Then shows this error: Failed to apply patch to repo . This can happen if the setup script and agent modify the same files.
I have nothing else running concurrently. How do I solve?
Same problem. I can’t continually work on an issue in the same PR. Instead, I have to open a new PR and branch every time I need to review a fix that didn’t work, cluttering up my repo. This essentially means Codex is not the right fit for my platform, unfortunately.
Isn’t this happening because you forgot to push your code? I noticed this is happening when I commit code, forget to push, and try to start another task from within VS Code.
This is making Codex entirely useless…. You don’t even tell us what file and the logs are useless so we’re left to guess like idiots until it works - then it maybe works for one turn and you’re back at it.
Give us some useful feedback or it’s Claude Code for me. I’ve now wasted an entire day on this.
Yes, but this misinterprets the issue. Codex often produces wrong results that you want to iterate on and fix “before” pushing it to the repository, rather than stacking on bug after bug. Having it suddenly just break while doing this isnt helpfull.