mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
## Why Large or minified diffs can require substantial work to allocate wrapped rows and syntax-highlighted spans in the inline patch view. ## What changed - Limit inline patch previews to 12 rendered rows across all changed files, while retaining file summaries and directing users to the transcript when content is omitted. - Preserve complete diff content in transcript and raw views. - Bound preview source scanning to 64 KiB so zero-width content cannot bypass the row budget. ## Testing Add coverage for added, deleted, updated, renamed, minified, narrow-width, wide-character, combining-character, and multi-file diffs, including preservation of complete transcript and raw output. GitOrigin-RevId: 1899129ab548771c29d226ff624549573fb2f688