core-agent-ide/codex-rs/apply-patch
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
..
src Propagate apply_patch filesystem errors (#1892) 2025-08-06 14:58:53 -07:00
apply_patch_tool_instructions.md fix: provide tolerance for apply_patch tool (#993) 2025-06-03 09:06:38 -07:00
Cargo.toml Auto format toml (#1745) 2025-07-30 18:37:00 -07:00