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
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.
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:
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!
Activity
opencode-agent commentedon 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+Oshow them), but the project-scoped session list (<leader>l) filters them out. This happens because the importer leaves them attached to V1's catch-allglobalproject, or with an empty (NULL) path, instead of the project V2 creates for your folder.Possible duplicates and closely related issues, ordered by likelihood:
globalproject and are hidden from the session picker after upgrading; the rest of the history is still reachable viactrl+Oproject_id='global'globalsessions stay unattributed after migration and are hidden from V2's session listctrl+Ooropencode -s <sessionID>pathwas migrated asNULLare left out of the project session list even though their project is correctThe proposed fixes are in #51935 and #51514. In the meantime,
ctrl+O(as you found) oropencode -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 commentedon 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 aNULLpath) may be the closer match. Until a fix lands,ctrl+Ooropencode -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!