You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the edit tool, the model often suggests multiple changes for the same file, each targeting different, non-conflicting sections (e.g., via parallel_tool). If I accept the first edit, it applies as expected. On accepting the second edit, it undoes the first and applies only its own change; the same happens for a third edit, which undoes the second. As a result, only the last accepted edit is present in the file, and previous, unrelated accepted changes are lost.
Expected: Accepting edits in sequence should result in all non-conflicting changes being incorporated into the file, not overwritten by subsequent accepted edits.
OpenCode version
1.0.23
Steps to reproduce
Request multiple (e.g., 3) non-conflicting edits for one file using the model's parallel_tool.
Accept the first change. It is applied as expected.
Accept the second change. The first change is overwritten (lost), and only the second change remains applied.
Accept the third change. The second change is now lost, and only the third is present -- instead of combining all non-conflicting changes.
The core issue described in #3856 appears to be identical - when multiple changes are accepted quickly on the same file, only the last change is applied and previous changes are lost.
Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Nov 4, 2025
This issue might be a duplicate of existing issues. Please check:
The core issue described in #3856 appears to be identical - when multiple changes are accepted quickly on the same file, only the last change is applied and previous changes are lost.
Feel free to ignore if none of these address your specific case.