GeezerVison is showing github.com — [FEATURE]: Discard idle browser tabs with explicit exceptions · Issue #65477 · anomalyco/opencode
[FEATURE]: Discard idle browser tabs with explicit exceptions #65477
Description
Feature hasn't been suggested before.
- I searched open and closed issues and reviewed related work; prior suggestions and remaining overlap are noted below.
Describe the enhancement you want to request
PR #63002 adds background tabs. Current agent rendering holds pages awake during commands, then re-enables throttling after 30 seconds; this is not a configurable renderer-discard policy.
I want to reclaim memory from forgotten preview tabs without interrupting long-running tests or unsaved forms. Browse leaves this policy to the external browser.
- Offer Off or an idle-discard interval, plus per-tab/site Keep awake overrides.
- Show protected/discarded states and reasons. Protect active browser operations, captures, transfers and detectable unsaved work; expose manual exceptions when detection is uncertain.
- Restore the same tab identity, URL and profile, with reload progress and an explanation of unrecoverable page-only state.
Keep the existing command wake/throttle behavior independent of discard settings.
References:
Activity
opencodejr commented on Nov 21, 2026
Thanks for the detailed request, @chirag127!
To restate it: you'd like the desktop app's built-in browser to have an optional idle-tab discard policy (Off or an interval), with per-tab and per-site "Keep awake" exceptions. You'd also like discarded and protected states to be shown with their reasons, active operations and detectable unsaved work to be protected automatically, and a discarded tab to come back with the same identity, URL and profile. The current wake/throttle behaviour for agent commands would stay separate from all of this.
As you noted, the current code only keeps a page awake while agent commands run and turns throttling back on after a 30-second idle period. I didn't find any discard policy in the browser code I read. Maintainers will look at this request; I can't promise if or when it will happen.
I didn't find an existing request for the same feature. Somewhat related:
Metadata
Metadata
Development
No branches or pull requestsIssue actions