Repository navigation
Closed as not planned
Closed as not planned
Copy link
Description
Summary
After upgrading to v1.18.3, the web UI at http://localhost:4096/ shows an empty projects sidebar and "Nothing here yet" in the sessions list — even though the backend API returns 1,125 sessions and 22 projects successfully.
This is a regression of the bug originally reported in #30166 and #30801. The fix in PR #30167 ("fix(app): show project sessions before path sync resolves") does not appear to be present in v1.18.3.
Reproduction
- Have a populated opencode database (any version's data carried forward is fine)
- Start the server from any directory:
opencode serve
- Open
http://localhost:4096/(orhttp://localhost:4096/#/project/global) - Observe: left "Projects" sidebar renders empty; main area shows "Nothing here yet / Create a session to get started"
Expected
- Projects sidebar should list all 22 projects
- Sessions panel should list existing sessions
- Clicking
/#/project/<any-project-id>should show that project's sessions
Actual
- Projects sidebar is empty (no entries rendered, only "Add project" placeholder)
- Main area shows the empty state ("Nothing here yet")
- Same behavior on
/#/project/globaland other explicit project URLs - 0 console errors in browser DevTools
Environment
- opencode: 1.18.3 (Homebrew
anomalyco/tap/opencode, installed 2026-07-17) - OS: macOS (darwin)
- Serve start dir: tested from
~/and from a project dir - Browser: latest Chrome, also verified in clean incognito (rules out cache / SW)
- Database: 778MB SQLite,
PRAGMA integrity_checkreturnsok
Related issues
- Sessions list is empty on page load in web UI #30166 — "Sessions list is empty on page load in web UI" (root cause analysis:
store.path.directorynot bootstrapped whenserver.connectedfires;sortedRootSessions()filters everything out) - Web UI session list shows only New session + Load more for a directory with existing sessions #30801 — same regression, recommended downgrade to 1.15.7
- [Regression] v1.17.13 web UI session list still empty — fixes from #30167/#30314/#30804 not cherry-picked to stable #35340 — confirmed still broken in 1.17.13, fixes from fix(app): show project sessions before path sync resolves #30167/fix(app): avoid suspending on pending child path #30314/fix(session): respect directory filter with workspaces #30804 not cherry-picked to stable
- Web UI: session list empty on left panel when using web server mode #27837 — same symptom in web server mode
- [BUG][Windows][Web/Desktop] Session sidebar uses path-sensitive exact matching (slash + drive-case), causing hidden sessions and duplicate workspaces #14570 / [BUG][Windows][Web/Desktop] Global project (
worktree="/") can show empty sidebar even when/sessionAPI returns sessions #14572 — global project (worktree: "/") sidebar empty (related path-canonicalization family)
Workaround (until a fix is released)
- Use the TUI (
opencode .from any directory) — fully functional - Web UI is unusable for browsing existing sessions
Reacted by Dswang and sergdort
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Jul 27, 2026
This issue might be a duplicate of existing issues. Please check:
The issues you referenced (#30166, #30801) are also closely related but are closed. #35340 is the active open tracker for this ongoing regression.
fix(app): auto-register server working directory as a project
github-actions commentedon Sep 26, 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.