Skip to content

Reattaching to a deleted session makes opencode hard hang the terminal #23344

@bhaveshdavda

Description

@bhaveshdavda

Description

I am new to opencode. I just deleted all sessions using the ctrl+d shortcut. Then I tested to see what happens when launching opencode to reattach to one of the deleted sessions that had worked minutes ago:

opencode -s ses_25d8af712ffekolTDT1RHRGZ08

The terminal turned black, and would not respond to ctrl+c, ~., or any of the usual keyboard shortcuts to kill the process. I had to kill the terminal

Plugins

None

OpenCode version

1.4.11

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions