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
tui: session becomes stale after restarting opencode #38852
Restarting opencode leaves the previously active session stale. Continuing requires opening a
new opencode instance, running /session, and manually reattaching to the session.
Active plugins: Unavailable: omitted at reporter request
Reproduction
Open opencode and start or resume a session.
Restart opencode.
Attempt to continue using the previously active session.
Observe that the session is stale.
Open a new opencode instance, run /session, and reattach to the original session.
Expected Behavior
After restarting, opencode should restore or reconnect to the active session automatically and
allow it to continue normally.
Actual Behavior
The session becomes stale after restart. The only known workaround is to open a new opencode
instance, run /session, and manually reattach to the original session.
Additional Context
Workaround: start a new opencode instance and reattach through /session.
Activity
github-actions commentedon Sep 24, 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.
robclancy commentedon Oct 15, 2026
I fucking hate your fucking github actions on these issues. Every damn time I see an issue it's auto closed.