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
Opening a local repository with 29 modified files causes OpenCode Desktop to populate the Review > Git changes panel immediately. The app then becomes effectively unresponsive before the panel can be closed or collapsed.
The repository is not unusually large by file count (158 tracked files, about 9.9 MB of Git metadata), but several changed source files are large. Git's normalized diff was about 1,700 additions and 126 deletions across 19 files. OpenCode instead displayed apparent full-file rewrites such as:
MetadataStore.cpp: +21,720 / -21,708
FsHostSemanticsTests.cpp: +23,311 / -22,987
NativeApfsBackend.cs: +6,662 / -6,635
This repository uses core.autocrlf=true and some edited files contain mixed CRLF/LF endings. Git normalizes those changes correctly, but the desktop review UI appears to process the much larger raw/full-context representation.
Expected: the Git Changes panel should remain responsive, avoid opening/loading expensive diffs automatically, and lazy-load or cap/virtualize large diffs. Line-ending normalization or full-context patches should not freeze the entire app.
Related reports #21068, #21784, #29768, and #21153 are closed, but the problem still reproduces in the current release. The proposed fix in #29928 was closed unmerged; #25581 does not appear to cover this desktop rendering path.
Plugins
No plugin-specific behavior observed.
OpenCode version
1.18.18 (Desktop, Electron 42.3.3)
Steps to reproduce
On Windows with Git core.autocrlf=true, open a repository containing several large source files.
Leave roughly 20-30 files modified, including files with mixed CRLF/LF edits.
Open the repository/session in OpenCode Desktop.
Let the Review / Git Changes side panel appear and populate.
Observe full-file-sized addition/deletion counts and severe UI lag; in this case the app became unusable.
Screenshot and/or share link
A screenshot shows the Review panel listing 29 files with multiple apparent 6k-23k-line full-file rewrites. It can be supplied if needed.
Operating System
Windows 11 Enterprise 64-bit, version 10.0.26200 (build 26200)
Activity
github-actions commentedon Aug 17, 2026
This issue might be a duplicate of existing issues. Please check:
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊