Skip to content

With tabs from two folders, a session's quota sidebar stays on "Loading quota…" #454

Closed as not planned

Description

@ransagy

In one sentence, what do you see?

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?

  1. With "tabs": { "scope": "global" }, open sessions from two folders A and B as tabs.
  2. Show a session in A, then one in B.
  3. Open a session in A this TUI hasn't shown yet. It stays on "Loading quota…".
  4. 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

  1. github-actions commented on Nov 10, 2026

    @github-actions
    Contributor

    Thanks for opening this! This issue was not made with one of our forms, so we added the needs info label.

    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.

  2. ransagy commented on Nov 10, 2026

    @ransagy
    ContributorAuthor

    Closing because this wasn't opened with the issue form. I'm reopening it through the bug form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoWaiting on the reporter

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions