Skip to content

Session not saved to current project when opencode process terminates unexpectedly. #14291

@TZubiri

Description

@TZubiri

Description

How to replicate this bug.

  1. Create new folder mvce
  2. cd into mvce
  3. run opencode
  4. send a test message
  5. Kill the opencode process with "kill -SIGKILL $pid"
  6. run opencode in the mvce folder again
  7. Run the /sessions command
  8. Expected: User should find the previous session.
  9. Actual: User finds no sessions.

Plugins

No response

OpenCode version

No response

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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions