Chat code diff reports a false code deletion

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The change viewer in the chat reported that lines were removed, although both git diff and agent diff show only two added lines in the document.

Steps to Reproduce

Just before this, Chat lost connection and I continued execution via Resume in the pop-up message. The connection loss occurred during or before reading the file.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.20 (system setup)
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.22631

For AI issues: which model did you use?

GPT-5.2 XHigh

For AI issues: add Request ID with privacy disabled

516803e3-eb3d-4a6c-9042-c7dfb3065f45

Does this stop you from using Cursor

No - Cursor works, but with this issue

Thanks for the detailed bug report with the Request ID! I’ve passed it on to the team.

It happened again
GPT-5.1 CMxH
b39e5c47-8dd8-4d28-879f-121c5c8ae876 (Privacy on)

Version: 2.3.19 (system setup)
VSCode Version: 1.105.1
Commit: 77af5775de140fced9aeb1a50e372883667d6810
Date: 2026-01-02T18:36:40.946Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.22631

UPD: 5.1 CMxH performed the task in a generally strange way. I didn’t bother investigating further and reverted all the changes in the request.

Problem in CRLF vs LF at the end of the lines.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.