There are old phantom diff changes that don’t have an accept button and have no way of getting rid of.
similar to this ticket
but work around steps don’t work for me because I can’t even accept the changes
In console I only see Otel errors nothing related to this issue
[otel.error] {"stack":"OTLPExporterError: Bad Request\n\tat IncomingMessage.<anonymous> (/usr/share/cursor/resources/app/node_modules/@opentelemetry/otlp-exporter-base/build/src/transport/http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:531:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)","message":"Bad Request","code":"400","name":"OTLPExporterError","data":"{\"error\":\"Trace spans collection is disabled for NO_STORAGE privacy mode\"}"}
Steps to Reproduce
I’ve got no clue how to reproduce it just happened over time now when I go to a file that cursor has changed in the past it still thinks I need to accept those changes even though I already committed them to git so I don’t see any accept button.
Hey, this is a known issue. The review state can get stuck in workspace storage even after you commit.
Since you don’t have Accept or Undo buttons, the usual workarounds are a bit different. Try these in order:
Ctrl+Z method (this worked for the author of the ticket you linked): copy the file contents to your clipboard, then press Ctrl+Z until the file rolls back to the state from before the glitch, when the green diff blocks disappear. Then paste your content back from the clipboard. This should reset the stuck review state.
Rename the file: rename the affected file, fully quit Cursor (not just close the window), reopen it, then rename the file back.
Developer: Reload Window (Ctrl+Shift+P, then Developer: Reload Window). This sometimes helps.
The OTEL errors in the console are not related to this issue. That’s a separate thing related to privacy mode.
The team is aware of this bug. Let me know if any of these help, and how many files are affected. If it’s a lot, please say so, it helps with prioritization.
Hi,
Ya its about 50-100 files not sure about the exact amount, renaming the file fixes it however, its just something I would need to do as I find them.