Files
CLIProxyAPI/internal/runtime/executor/devin_executor.go
Luis Pater b4f59d7035 fix(devin): log apply_patch rejection diagnostics and recover complete bare patches
- Attach content-free log diagnostics to Devin apply_patch 502 rejections with fixed reason categories, argument byte counts, prefix shapes, and parse error classes.
- Buffer and recover complete, well-framed bare Codex patches from Devin invalid_json_str arguments via applypatch.WrapInput after a clean EOS trailer in streaming and non-streaming execution.
- Keep truncated streams, trailer errors, mixed argument sources, and malformed patches fail-closed without exposing patch content.

Closes: #7046
2026-10-27 16:19:45 +08:00

94 KiB