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
{{ message }}
Repository navigation
IntelliJ: rejecting a proposed edit triggers an assertion in DiffStreamHandler.undoChanges #13489
I encountered an IDE internal error when rejecting a proposed Java edit in Continue's Agent mode.
Environment:
IntelliJ IDEA 2026.2.3, build 262.10968.63
Continue 1.0.68
macOS, Apple Silicon
Gemini 4 Hydrogen through the Gemini provider
The sequence was:
Ask Continue to repair a disposable Java fixture.
Accept its proposed change to one file.
Reject a proposed change to another file. In this case, the rejected change referenced an enum constant that did not exist.
IntelliJ reports an exception attributed to Continue.
Relevant stack excerpt:
java.lang.Throwable: Assertion failed
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:477)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:486)
at com.intellij.openapi.command.impl.UndoManagerImpl.undo(UndoManagerImpl.java:117)
at com.github.continuedev.continueintellijextension.editor.DiffStreamHandler.undoChanges$lambda$17(DiffStreamHandler.kt:423)
I expected rejecting the edit to restore the original contents without an IDE error.
The original contents were restored, and I could continue the conversation, accept a corrected edit, and run the tests successfully. IntelliJ recorded one occurrence. I have not yet established a reliably repeatable minimal reproduction or whether the problem depends on the model.
Does this match an existing issue with rejecting streamed edits?
Activity