Skip to content

fix(tui): suppress quota load warnings after TUI stops - #520

Open
Fangwenky wants to merge 1 commit into
slkiser:mainfrom
Fangwenky:fix/suppress-disposed-quota-load-warning
Open

Fangwenky wants to merge 1 commit into
slkiser:mainfrom
Fangwenky:fix/suppress-disposed-quota-load-warning

Conversation

@Fangwenky

Copy link
Copy Markdown

What users see change

Quitting OpenCode while a quota request is still in flight no longer prints a [opencode-quota] failed to load quota: Transport: ECONNRESET... warning to the terminal after the TUI closes. Quota load errors while OpenCode is running are still reported as before.

Linked issue

Fixes #519

Before and after screenshots

Not applicable — this removes a spurious terminal warning printed after the TUI exits; no TUI, sidebar, status line, toast, or /quota window layout changes.

Checklist

  • I ran pnpm verify (format, lint, TypeScript build, 151 test files / 4,125 tests passing, and package contents check)
  • I tested on released OpenCode version: verified via unit tests simulating ECONNRESET on in-flight snapshot, notices, and refresh RPC calls after stop() (no local OpenCode binary installed)
  • For provider changes, I followed Provider Changes, or this does not apply

@github-actions github-actions Bot added the bug Something isn't working label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warning "failed to load quota: ECONNRESET" printed after quitting OpenCode

1 participant