"Edited N files": The diff only shows lines added, but not lines removed

Open 💬 2 comments Opened May 24, 2026 by KernelBypass
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the IDE extension are you using?

26.519

What subscription do you have?

OpenAI Codex

Which IDE are you using?

VS Code

What platform is your computer?

_No response_

What issue are you seeing?

After the agentic changes to the code, the "Edited N files" UI status only shows lines added, but not lines removed for the file diff.

<img width="620" height="68" alt="Image" src="https://github.com/user-attachments/assets/af0a3efe-758b-471a-80da-44cbfcc210f2" />

<img width="257" height="155" alt="Image" src="https://github.com/user-attachments/assets/ca82ea69-bd57-4d84-894e-c01dabeb3e25" />

What steps can reproduce the bug?

  1. Make Codex alter the code in a way that removes some lines
  2. Observe the UI status only shows lines added

What is the expected behavior?

The red number for lines removed should not be zero.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 3 months ago

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

  • #23217

Powered by Codex Action

KernelBypass · 3 months ago
Potential duplicates detected. Please review them and close your issue if it is a duplicate. * Codex App in WSL reports incorrect diff summary in side panel #23217 _Powered by Codex Action_

Different bug, different platform. My report: the subtractive diff not showing up at all.