-
Notifications
You must be signed in to change notification settings - Fork 7k
Open
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
OpenCode TUI freezes for 2-10 seconds periodically while typing or scrolling on WSL2. Input is buffered during the freeze and appears after it resolves. The issue does not occur on native Windows.
Environment
| Component | Details |
|---|---|
| OS | WSL2 Ubuntu 24.04 (kernel 6.6.87.2-microsoft-standard-WSL2) |
| OpenCode versions tested | 1.0.128 (works), 1.0.129+ (freezes) |
| Terminals tested | Windows Terminal, WezTerm (both freeze) |
| Filesystem | Tested on both /mnt/c/ and native Linux filesystem (~/) - both freeze |
Regression
Binary search identified the regression:
- 1.0.128: No freezing
- 1.0.129: Freezing starts
Relevant change in 1.0.129 changelog:
Bumped opentui to v0.1.55
What this is NOT
- Not SIGPWR spam (issue Mouse Input Spam / SIGPWR Signal Storm in WSL2 #5168) - no SIGPWR signals in strace
- Not 9P filesystem - freezes on native Linux filesystem too
- Not terminal-specific - happens on multiple terminals
- Not Bun-specific - also tested with npm installation, same issue
Steps to Reproduce
- Install OpenCode v1.0.129+ on WSL2 Ubuntu
- Run
opencodein any directory - Type or scroll in the TUI
- Observe periodic 2-10 second freezes
Workaround
Use version 1.0.128
OpenCode version
1.0.144 - 1.0.128
Steps to reproduce
- Install OpenCode v1.0.129+ on WSL2 Ubuntu
- Run
opencodein any directory - Type or scroll in the TUI
- Observe periodic 2-10 second freezes
Screenshot and/or share link
No response
Operating System
WSL Ubuntu 24.04
Terminal
Windows Terminal, Wezterm
CountElqyd, overstarry, mqyang56, pedro-hgm, Saimo and 4 moreStevenTCramer
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui