GeezerVison is showing github.com — session list dialog empty · Issue #57068 · anomalyco/opencode
session list dialog empty #57068DescriptionDescription
After upgrading from v1 to v2.0.32, the session list dialog (session.list, <leader>l) shows only the current session. The HTTP API returns all pre-upgrade sessions for the same project, and the open.menu dialog (ctrl+O) lists them correctly with working search — so the data is present and reachable, but the session list dialog filters it out.
Although, migration of session list was not automatic and also required extra work.
Environment
- opencode version: 2.0.32 (latest channel)
- OS: macOS (Darwin 25.6.0, arm64)
- Terminal: Termius (TERM=xterm-256color)
- Shell: /bin/zsh
- Install/channel: latest
- Active plugins: none
Plugins
No response
OpenCode version
No response
Steps to reproduce
- Use opencode v1 in a workspace and accumulate session history.
- Upgrade to v2.0.32 and open the same workspace.
- Open the session list dialog (
<leader>l).
- Observe: only the current session is listed; searching for older sessions returns nothing.
- Open
open.menu (ctrl+O): older sessions appear and search finds them.
Screenshot
No response
Operating System
No response
Terminal
No response Activityopencode-agent commented on Oct 19, 2026 Thanks for the detailed report! I think this is a duplicate of #49827. After a V1→V2 upgrade, the migrated sessions are still in the database (so the API and ctrl+O show them), but the project-scoped session list (<leader>l) filters them out. This happens because the importer leaves them attached to V1's catch-all global project, or with an empty (NULL) path, instead of the project V2 creates for your folder.
Possible duplicates and closely related issues, ordered by likelihood:
The proposed fixes are in #51935 and #51514. In the meantime, ctrl+O (as you found) or opencode -s <sessionID> still opens the older sessions.
The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
opencode-agent commented on Oct 20, 2026 We haven't heard back in a day, so I'm closing this as a duplicate of #49827. In both, migrated V1 sessions are still in the database and reachable via ctrl+O, but the project-scoped session list (<leader>l) hides them. Please follow #49827 for updates. If your workspace is a git repo, #51144 (sessions migrated with a NULL path) may be the closer match. Until a fix lands, ctrl+O or opencode -s <sessionID> still opens your older sessions. If your problem turns out to be different, reply here and explain how, and we can reopen this. Thanks for the report!
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|