Diff preview error with red text

Resolved 💬 6 comments Opened Dec 19, 2025 by nos1609 Closed Jan 20, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

v0.4.53

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Windows 11 25h2 ARM64

What issue are you seeing?

Some text appears instead of diff preview in chat

<img width="855" height="988" alt="Image" src="https://github.com/user-attachments/assets/938f3b4b-8adf-4803-a003-bbe78cf1259a" />

What steps can reproduce the bug?

Ask Codex to make some changes to a file so it produces a diff during its task completion cycle

What is the expected behavior?

A normal diff preview with green|red text highlighting

Additional information

Thread id 019b3779-5554-73f0-9a3c-bfb4ca84aba0

View original on GitHub ↗

6 Comments

github-actions[bot] contributor · 8 months ago

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

  • #7890
  • #7518
  • #6770

Powered by Codex Action

amadeus · 8 months ago

Would you have the ability to generate a patch file from this change explicitly that I could test with?

nos1609 · 8 months ago
generate a patch file from this change?

Going to try to reproduce it manually, but looks like it simply moved a content block just a line up/down via newline and line deletion.

amadeus · 8 months ago

so ideally we can get a patch from it though, there's probably something specific to that change that is triggering some error since normally changes like that shouldn't break, so getting a repro condition is helpful

shijie-oai contributor · 7 months ago

Thanks for flagging! We were able to create a fix for this and it will be included in the next release. Thanks!

nos1609 · 7 months ago

Haven't seen this anymore in that same repo