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
Sessions from other worktrees of the same project are no longer visible after upgrade #23594
Sessions created in other git worktrees of the same repository are no longer visible when running opencode from a different worktree. This worked before upgrading to v1.14.19 (previous 1.2.25).
Steps to Reproduce
Have a git repo with multiple worktrees (e.g. C:\Work\fireyes as main, C:\Work\fireyes-workflows as a worktree)
Create sessions in the main worktree directory
Open opencode from the worktree directory
Sessions list only shows sessions created in the current worktree directory(empty at the beginning actually), not the ones from the main repo or other worktrees
Expected Behavior
Since all worktrees share the same project_id (computed from git rev-list --max-parents=0 HEAD), all sessions belonging to the same project should be visible regardless of which worktree directory they were created in. The sandboxes column in the project table already tracks all worktree directories, indicating the design intent is for them to be part of the same project.
Actual Behavior
Only sessions matching the current working directory are shown. This appears to be a regression — likely the session listing now filters by directory (sandbox path) in addition to project_id, whereas previously it only filtered by project_id.
Evidence
Database query shows all sessions are correctly stored under the same project_id:
project_id: bcda27203b3ed9289ac01b7a2b20baf7c2faed00
worktree: C:\Work\fireyes
sandboxes: ["C:\Work\fireyes-ptr-pos-trading-features","C:\Work\fireyes-workflows"]
Sessions by directory:
C:\Work\fireyes → 53 sessions
C:\Work\fireyes-analysis-fund-share → 8 sessions
C:\Work\fireyes-workflows → 2 sessions ← only these are visible
... (other worktree dirs)
When running opencode from C:\Work\fireyes-workflows, only the 2 sessions with directory=C:\Work\fireyes-workflows are shown, while the other 53+ sessions from the same project are hidden.
Activity
github-actions commentedon Apr 20, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct, please add details explaining how it differs.
github-actions commentedon Jul 3, 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.