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
Critical regression: OpenCode 1.0.201 causes random full OS restarts on Pop!_OS (Wayland, AMD APU) #6163
After upgrading to OpenCode 1.0.201, my system running Pop!_OS experiences random, ungraceful full OS restarts while OpenCode is running. This does not occur with earlier OpenCode versions and appears to be a regression introduced in 1.0.201.
The restarts are hard system resets (no logout, no shutdown sequence).
On Linux, OpenCode appears to ignore autoupdate:false unless set in ~/.config/opencode/opencode.json, and/or it still attempts updates unless OPENCODE_DISABLE_AUTOUPDATE=true is set. It also appears to stage updates under ~/.local/share/opencode.
While I do not have an exact explanation, I was able to get this OS crash and reset issue completely fixed by removing my Zen account from the auth list. Once this was rtemoved the problem went away. I know this is not very helpfull to squash this bug but it definately was related to my Zen account and not to a specific version of Opencode or the OS as far as I can tell
Activity
github-actions commentedon Dec 25, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
jablain commentedon Dec 25, 2025
On Linux, OpenCode appears to ignore autoupdate:false unless set in ~/.config/opencode/opencode.json, and/or it still attempts updates unless OPENCODE_DISABLE_AUTOUPDATE=true is set. It also appears to stage updates under ~/.local/share/opencode.
jablain commentedon Dec 25, 2025
Please hold on this bug report. I think I am closing in on the cause on my side. I will report on findings once I am done
jablain commentedon Dec 25, 2025
While I do not have an exact explanation, I was able to get this OS crash and reset issue completely fixed by removing my Zen account from the auth list. Once this was rtemoved the problem went away. I know this is not very helpfull to squash this bug but it definately was related to my Zen account and not to a specific version of Opencode or the OS as far as I can tell
jablain commentedon Dec 25, 2025
Should this issue be closed ? I am not sure how you proceed with these types of events. So I will let you decide. On my side the problem is resolved.