codex icon indicating copy to clipboard operation
codex copied to clipboard

Changes/Diffs are not accurate

Open iamhectorlopez opened this issue 1 year ago • 5 comments

What version of Codex is running?

Cursor IDE extension

Which model were you using?

gpt5

What platform is your computer?

windows

What is the expected behavior?

expected behavior is that it should leave untouched rowes that are not being modified. and only mark as red removed and green added.

What do you see instead?

rowes maintained, are being marked as green even though they arlready existed.

Additional information

No response

iamhectorlopez avatar Sep 08 '25 21:09 iamhectorlopez

The screenshot is from the IDE extension while you mention you use the CLI. Can you provide more information?

aibrahim-oai avatar Sep 08 '25 23:09 aibrahim-oai

It seems related to how it samples and uses sed and such to find the 'chunks', I have noticed the same.

techjoec avatar Sep 08 '25 23:09 techjoec

@aibrahim-oai sorry for the confusion, indeed is with an IDE extension, i have updated the issue to reflect that

iamhectorlopez avatar Sep 10 '25 14:09 iamhectorlopez

This issue persists, and sometimes it can get to the point where it deletes the entire file and rewrites it. I’ve experienced this same behavior in different situations as well.

also would be great if this could get some attention: https://github.com/openai/codex/issues/3567

Image

iamhectorlopez avatar Oct 24 '25 17:10 iamhectorlopez

This bug report hasn't received any upvotes or additional posts in three months. Closing.

etraut-openai avatar Mar 29 '26 16:03 etraut-openai