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
opencode hangs after editing file, no further logs #22438
After editing a C++ file, opencode stops responding. The last log entry shows service=lsp file=... touching file, and then nothing happens. The process does not exit or show any error.
Plugins
no plugins
OpenCode version
1.4.3
Steps to reproduce
No response
Screenshot and/or share link
INFO 2026-04-14T11:26:27 +1ms service=format file=.../xxx_builder.cpp formatting
INFO 2026-04-14T11:26:27 +0ms service=bus type=file.edited publishing
INFO 2026-04-14T11:26:27 +0ms service=bus type=file.watcher.updated publishing
INFO 2026-04-14T11:26:27 +3ms service=file.time sessionID=ses_xxx file=... read
INFO 2026-04-14T11:26:27 +5ms service=bus type=message.part.updated publishing
INFO 2026-04-14T11:26:27 +1ms service=lsp file=.../xxx_builder.cpp touching file
[No further logs after this line]
I encountered the same issue with C++ files (clangd). After manually installing clangd and configuring opencode to use it (instead of letting opencode auto-download), the hang no longer occurs.
Activity
github-actions commentedon Apr 14, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct from those, please add details explaining how it differs.
K8SQuantaByte commentedon Apr 14, 2026
I encountered the same issue with C++ files (clangd). After manually installing clangd and configuring opencode to use it (instead of letting opencode auto-download), the hang no longer occurs.
AA1HSHH commentedon May 10, 2026
face same problem
github-actions commentedon Jul 10, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.