Allow PRs with binary files
Please allow codex web to create PRs that include binary files. I just had it work successfully on a task for 40 minutes and can not merge the PR because it accidentely created a small unneeded binary file!
Same here, or at least, let us delete the binary and create PR. It is so annoying to loose all work due to this error.
same here.
I was just getting into Codex and then found out about this limitation. So frustrating! Does Claude Code have this problem? Might be a reason to switch.
yes this needs to be fixed please
It has been like this since launch - makes it not really usable for some workflows.
Workaround is .gitignore common binary files.
same here. it needs to be fixed i am having issues creating a PR!
Yeah it's impossible to e.g. create a bun lockfile (bun.lockb) or create a PR for a codex change that inclues such a change this way -- not sure I understand the intent here -- shouldnt you be able to "allowlist" such changes at least (e.g. bun.lockb files are ok to commit)?
Hit the same issue, I think it is pretty common use case and surprised that it is not fixed yet.
This is the same for me. You have to exclude everytime the binary files or find a workaround with those files ... It's literally painful.
Same for me - Gradle wrapper jar is automatically added to the build and cannot be committed to the repo. Just add the possibility to exclude specific files from the PR to avoid messing up with workarounds.
Partial workaround is to use "copy git apply". The below post says to paste to a .patch file, then run git apply ThatFile.patch, but I think what's copied is the commands to run themselves, with data included.
https://community.openai.com/t/codex-started-failing-to-create-new-pr/1264529/40