GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

New issue
Copy link
New issue
Copy link
Open
Open
[FEATURE]: Discard idle browser tabs with explicit exceptions#65477
Copy link
Labels
area/desktopDesktop apptype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

Description

@chirag127
chirag127
opened on Nov 21, 2026
Issue body actions

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:

  • Merged background-browser support
  • Current 30-second renderer throttling
  • Orca Memory Saver behavior

Activity

  1. opencodejr commented on Nov 21, 2026

    @opencodejr
    opencodejrBot
    on Nov 21, 2026
    Contributor
    More actions

    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:

    • feat(desktop): keep running session tabs awake #47301: a closed pull request that would have kept the computer awake while session tabs run. That's about system sleep, not discarding browser tabs.
  2. opencodejr
    added
    area/desktopDesktop app
    type/featureNew behaviour or an improvement
    version/v2OpenCode 2.x
    on Nov 21, 2026
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

    area/desktopDesktop apptype/featureNew behaviour or an improvementversion/v2OpenCode 2.x

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.