Description
The TUI sessions dialog can show No results found and stay empty if it is opened before the async session list has finished loading.
The dialog freezes its browse order at mount from the current session store. On normal startup the session list loads asynchronously, so the store can still be empty when the dialog opens. When the async list later populates, the dialog has session data but still uses the initial empty browse order.
Plugins
None
OpenCode version
opencode dev branch as of 1399323
Steps to reproduce
- Start the TUI normally.
- Immediately open the sessions dialog before startup session loading finishes.
- Wait for session loading to complete.
- The dialog can keep showing no options until it is closed and reopened.
Screenshot and/or share link
N/A
Operating System
macOS Tahoe 26.6
Terminal
Ghostty build 16316
Description
The TUI sessions dialog can show
No results foundand stay empty if it is opened before the async session list has finished loading.The dialog freezes its browse order at mount from the current session store. On normal startup the session list loads asynchronously, so the store can still be empty when the dialog opens. When the async list later populates, the dialog has session data but still uses the initial empty browse order.
Plugins
None
OpenCode version
opencode dev branch as of 1399323
Steps to reproduce
Screenshot and/or share link
N/A
Operating System
macOS Tahoe 26.6
Terminal
Ghostty build 16316