v0.115.0 → v0.116.0 breaks apply_patch

Resolved 💬 2 comments Opened Mar 24, 2026 by maxtheaxe Closed Mar 24, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.116.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.4

What platform is your computer?

Linux 6.17.9-76061709-generic x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

GNOME Terminal

What issue are you seeing?

Every patch attempt using apply_patch failed before execution with: bwrap: Unknown option --argv0. Also affected normal sandboxed shell commands.

What steps can reproduce the bug?

Install v0.116.0 and attempt to modify files.

What is the expected behavior?

Modifying files is possible using apply_patch.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #15335
  • #15507
  • #15551
  • #15446
  • #15291

Powered by Codex Action

maxtheaxe · 5 months ago

A cursory review of the above issues tells me the bot seems to be correct. Searches didn't turn these up earlier for some reason—I was probably searching for the symptoms (i.e. apply_patch not working) rather than the real errors. Will close this.