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
Same git directory gets two project IDs and /sessions only shows the latest project's sessions #36464
OpenCode stopped showing previous sessions for a project. /sessions and opencode session list only showed the latest session created today, although the SQLite database still contained all previous sessions.
The root cause seems to be that OpenCode created a second project identity for the same directory.
Observed behavior
The database contained two projects pointing to the same directory:
Your specific trigger (creating the first git commit causing a new project ID to be generated for the same directory) is a concrete reproduction scenario for the project ID drift bug tracked in #30683.
Activity
github-actions commentedon Jul 11, 2026
This issue might be a duplicate of existing issues. Please check:
/sessionswhile still present in the database)Your specific trigger (creating the first git commit causing a new project ID to be generated for the same directory) is a concrete reproduction scenario for the project ID drift bug tracked in #30683.
github-actions commentedon Sep 10, 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.