Incorrect line numbers shown in the summary view

Open 💬 0 comments Opened May 13, 2026 by Advait1306

What version of the Codex App are you using (From “About Codex” dialog)?

26.506.31421 (2620)

What subscription do you have?

Pro Lite

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

The summary shows line numbers in an incorrect order.

Here is what I see in codex summary view:

<img width="210" height="254" alt="Image" src="https://github.com/user-attachments/assets/b7cf7f7e-00c3-4d95-92b0-4d8423736f61" />

---

Here is what I see in the codex diff viewer:

<img width="280" height="404" alt="Image" src="https://github.com/user-attachments/assets/c966d35d-2322-4f6e-a638-a4d55ba4ed6d" />

---

Here is what I see from my code editor:

<img width="339" height="334" alt="Image" src="https://github.com/user-attachments/assets/d510ab50-6e52-4fde-a5d6-452b76fdc8b3" />

The summary view is incorrectly showing different lines. It shows line number 620 after line number 709.

What steps can reproduce the bug?

I can't tell at this point, I just encountered it during a normal session.

What is the expected behavior?

Summary view is expected to match all other diff views.

Additional information

_No response_

View original on GitHub ↗