Skip to content

Console never loads workspace → Go shows "Subscribe" and usage is $0 while the Go subscription is active (works on another account) #50085

Closed as not planned

Description

@Super-Ivan

Description

After the Console moved to org-scoped URLs, the Console for my account never loads my workspace. Every workspace-dependent surface is stuck in a loading state, the workspace switcher is empty, and the Go tab offers "Subscribe" even though my Go subscription is active and in use.

Result: Console usage shows $0.00 and I cannot see my Go quota or balance anywhere in the UI. A different account signed in on the same machine works fine — only this GitHub-authenticated account is affected.

On the same machine and the same auth.json, the Go usage API and the third-party plugin @slkiser/opencode-quota both read my real quota successfully (see Evidence below), so the subscription itself is intact — the Console just can't see the workspace.

Steps to reproduce

  1. Sign in at https://opencode.ai/auth (Continue with GitHub).
  2. Open https://opencode.ai/console → it lands on https://opencode.ai/console/org_<org_id>.
  3. Observe the workspace switcher (top-left), the Go tab, and Settings → Billing.

Actual behavior

  • Workspace switcher (top-left): shows Select workspace with an empty list; repeatedly displays Loading workspace.... No workspace can be selected.
  • Go tab (/console/org_<org_id>/go): renders the Subscribe state with payment buttons (Card / Link / Alipay / UPI). It briefly shows Checking workspace members... before offering a new subscription.
  • Overview: 0 requests / 0 tokens / $0.00, "No requests were recorded", "No model usage".
  • Settings → Billing: stuck on Loading billing... indefinitely.
  • Settings → Account: stuck on Loading password settings... indefinitely.
  • Old deep link https://opencode.ai/workspace/<workspace_id>/go now 302-redirects to the login/authorize page (route appears dead).
  • https://opencode.ai/console/<workspace_id>/go renders a blank page.

Expected behavior

  • The Console lists my workspace(s) and lets me select the one that owns the Go subscription.
  • The Go tab shows my active subscription and its rolling / weekly / monthly usage.
  • Billing and Account pages load.

Evidence that the subscription is intact (same account, same machine)

Calling the usage API with this account's Go key returns HTTP 200 with real, non-zero usage:

GET https://opencode.ai/zen/go/v1/usage
Authorization: Bearer <go_api_key>

{"usage":{
  "rolling":{"status":"ok","percent":5, "resetsAt":"2026-09-19T19:10:07.880Z"},
  "weekly": {"status":"ok","percent":46,"resetsAt":"2026-09-21T00:00:00.880Z"},
  "monthly":{"status":"ok","percent":41,"resetsAt":"2026-10-08T05:27:23.880Z"}}}

The third-party plugin @slkiser/opencode-quota v4.10.0 (which reads the same key from auth.json, no cookies) also reports:

[OpenCode Go]
Five-hour                                   3h 34m   █████████████████████████████████████░░   95% left
Weekly                                   1d 8h 23m   █████████████████████░░░░░░░░░░░░░░░░░░░░   54% left
Monthly                                 18d 13h 51m   ███████████████████████░░░░░░░░░░░░░░░░░░░   59% left

So the workspace + subscription exist server-side; only the Console UI fails to load the workspace and therefore shows $0 / "Subscribe".

Possible cause

Looks like the wrk_ → org_ workspace migration / workspace loading failed for this account: the Console has no workspace in scope, so all workspace-scoped queries (subscription, billing, usage) never resolve.

Environment

  • Account: GitHub @Super-Ivan (email redacted; can be provided privately)
  • Console URL: https://opencode.ai/console/org_01M2X03EH8BXK2MFVV7CDZQGG4
  • Console org id: org_01M2X03EH8BXK2MFVV7CDZQGG4
  • Old workspace id (from the previous UI): wrk_01KVMTCRN3NBTCBN2ZDK21MV29
  • OpenCode version: 1.18.31
  • OS: Windows 11 (win32)
  • Browser: Chrome (latest) — also reproduced in a separate browser session

Related

Activity

  1. Super-Ivan commented on Sep 20, 2026

    @Super-Ivan
    Author

    Decisive evidence: the subscription is on this account, and the Console still can't see it

    Adding three findings that should narrow this down.

    1. The payment receipt confirms this account is the subscriber

    The Console login account ([email protected]) received an OpenCode receipt:

    • Amount: US$10.00 (the Go monthly price)
    • Paid: 2026-09-08 13:27 (GMT+8) = 2026-09-08 05:27 UTC
    • Method: Alipay
    • Receipt no. 2374-8861, invoice no. TYOCW30L-0001

    2. The billing anchor matches the Go usage API exactly

    The Go usage API's monthly window resets exactly one month after that payment, to the second:

    GET https://opencode.ai/zen/go/v1/usage
    "monthly": { "status": "ok", "percent": 41, "resetsAt": "2026-10-08T05:27:23.880Z" }
    

    Payment 2026-09-08 05:27 UTC → monthly reset 2026-10-08T05:27:23Z. Same day-of-month, same time-of-day, one month apart.

    So the $10 Alipay payment on 2026-09-08 is the Go subscription, and it is attached to this account.

    3. opencode console login succeeds but does not fix the Console

    I re-ran the CLI login; device authorization completed:

    $ opencode console login
      Go to: https://opencode.ai/console/device?user_code=WKXV-RBCC&client_id=opencode-cli
      Enter code: WKXV-RBCC
      Logged in as [email protected]
    

    The device page showed access to "All workspaces". After this, the Console is unchanged:

    • Personal (org_01M2X03EH8BXK2MFVV7CDZQGG4) → Go tab still shows Subscribe
    • 111 (org_01M2X2BK4M7P02N2BHARZRTGZR) → Go tab also shows Subscribe
    • Both orgs' Overview: $0.00 / 0 requests / 0 tokens
    • Neither org's workspace switcher lists any workspace

    4. This account has two orgs, and both are blind to the subscription

    $ opencode console orgs
    ● Personal  [email protected]  org_01M2X03EH8BXK2MFVV7CDZQGG4   (active)
      111       [email protected]  org_01M2X2BK4M7P02N2BHARZRTGZR
    

    The old workspace wrk_01KVMTCRN3NBTCBN2ZDK21MV29 is unreachable: /workspace/<wrk>/go → 302 to auth, /console/<wrk>/go → blank page.

    Meanwhile the Go usage API still returns live data for this account (rolling 5% / weekly 46% / monthly 41% used), and a third-party plugin reading the same auth.json key reports 95% / 54% / 59% left.

    Conclusion

    The subscription exists and is billing this account — the receipt and the API's reset anchor prove it — but the Console cannot resolve the workspace it belongs to, in either org. This looks like a wrk_ → org_ workspace migration/loading failure specific to this account.

    Side note (separate issue, but related infra)

    Every recent triage workflow run in this repo is failing with Error: Upstream request failed: Insufficient account funds, so new issues are not being auto-labeled. Might be worth a look on its own.

  2. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions