core-agent-ide/codex-rs/apply-patch/src
Dylan f25b2e8e2c
Propagate apply_patch filesystem errors (#1892)
## Summary
We have been returning `exit code 0` from the apply patch command when
writes fail, which causes our `exec` harness to pass back confusing
messages to the model. Instead, we should loudly fail so that the
harness and the model can handle these errors appropriately.

Also adds a test to confirm this behavior.

## Testing
- `cargo test -p codex-apply-patch`
2025-08-06 14:58:53 -07:00
..
lib.rs Propagate apply_patch filesystem errors (#1892) 2025-08-06 14:58:53 -07:00
parser.rs fix: run apply_patch calls through the sandbox (#1705) 2025-07-30 16:45:08 -07:00
seek_sequence.rs fix: handling weird unicode characters in apply_patch (#674) 2025-04-25 16:01:58 -07:00