[BUG] Desktop: dismissed "Approaching usage limit" banner reappears every time I switch sessions
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code
What's Wrong?
In Claude Code Desktop, the "Approaching usage limit" banner with an "Upgrade" link appears above the input. Clicking the × dismisses it for the current session view, but as soon as I switch to another session in the same app launch, the banner is back. Switch back to the original session — also back. Every session switch resurfaces it.
So in practice the dismiss button does nothing useful: any normal multi-session workflow re-surfaces the banner constantly. I'm dismissing the same banner ten or more times per work session.
What Should Happen?
Dismissing the banner via × should persist across session switches (and ideally across app relaunches) until the user actually crosses a higher threshold or the weekly window resets. At minimum, dismissing it should hold for the lifetime of the current app process.
Steps to Reproduce
- Open Claude Code Desktop with the "Approaching usage limit" banner visible.
- Click × to dismiss it. Banner disappears.
- Switch to another open session (sidebar / session switcher).
- Switch back — banner has reappeared.
Claude Code Version
Claude Code Desktop (latest as of 2026-05-04)
Platform
Anthropic API (Max plan)
Operating System
macOS
Terminal/Shell
N/A — Desktop app
Additional Information
Related issues:
- #41822 — Open enhancement request for a configurable warning threshold. Different ask (threshold configurability vs. dismiss persistence).
- #50558 — Closed as duplicate of #41822 and now locked. Documented the same dismiss-doesn't-persist behavior in the CLI ("Problem 2"), but #41822 doesn't actually track that part — it's only about thresholds. So the dismiss-persistence bug got buried when #50558 was closed.
- #51550 — Open. Same Desktop banner, but a different problem: false-positive triggering and the nonsensical "Upgrade" CTA on Max (20x). Doesn't cover dismiss-state behavior.
This issue is intentionally narrow: just the dismiss-state-not-persisting-across-session-switches behavior in Desktop. Even if the trigger threshold and CTA bugs are fixed, this would still be broken.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗