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
With tabs from two folders, a session's quota sidebar stays on "Loading quota…" #454
After switching between sessions from two folders in one TUI, some sessions stay on "Loading quota…" until I restart the TUI.
Which OpenCode do you use?
OpenCode 2
Your OpenCode version
2.2.5
Your plugin version
6.2.2
What went wrong?
I expected every session to show its rows within a second. After I view a session from another folder, sessions of the first folder that I open next stay on "Loading quota…". Polls and new turns don't help; only restarting the TUI, or that folder's OpenCode server, does. OpenCode's TUI asks the folder of the session on screen, and the plugin takes the other folder's answer as a server restart, so it ignores the folder it heard from before. Separately, right after OpenCode's background service restarted, a session stayed on "Loading quota…" until I closed the TUI, about an hour each time, twice. Its first request never came back, and the plugin waited for it. I have fixes with tests for both and can open a PR.
How can we make it happen?
With "tabs": { "scope": "global" }, open sessions from two folders A and B as tabs.
Show a session in A, then one in B.
Open a session in A this TUI hasn't shown yet. It stays on "Loading quota…".
For the second case: run opencode service restart with TUIs open. Occasionally a session never loads.
Paste what /quota_status shows (optional)
environment:
- opencode: 2.2.5 (latest)
- os: win32 x64
- runtime: bun 1.4.4
providers:
- anthropic: enabled available matchesCurrentModel=yes
- opencode-go: enabled available matchesCurrentModel=no
- opencode: enabled available matchesCurrentModel=no
Activity
github-actions commentedon Nov 10, 2026
Thanks for opening this! This issue was not made with one of our forms, so we added the
needs infolabel.Please open a new issue with a form: https://github.com/slkiser/opencode-quota/issues/new/choose. The forms ask for the details we need to help.
ransagy commentedon Nov 10, 2026
Closing because this wasn't opened with the issue form. I'm reopening it through the bug form.