Skip to content

Updates: add "Update when idle" so bb installs once no threads are running #5808

Closed as not planned

Description

@brsbl

Problem

Users who almost always have a long-running agent can't find a moment to update bb. When threads are running, Settings → Updates and bb updates only offer two choices: interrupt the running threads, or cancel. So these users keep putting the update off.

  • Settings: startAppUpdate opens a confirm when runningThreadCount > 0 (apps/app/src/components/settings/UpdatesSettingsSection.tsx).
  • CLI: "N threads are running. Updating restarts bb and interrupts them. Continue?" (apps/cli/src/commands/updates.ts).

Proposal

Add a third choice, Update when idle. bb schedules the update and installs it automatically once no threads are running.

  • It's offered next to "Update now" whenever threads are running, in both Settings and the CLI (for example bb updates apply --when-idle).
  • While the update is pending, Settings shows that it's scheduled and can be cancelled.
  • A thread that starts while the update is waiting just pushes the update back. It never interrupts the thread.
  • Optional follow-up: a setting to always install updates when idle.

Related

Activity

  1. added
    desktop
    cli
    on Oct 20, 2026
  2. bb-slop-cop commented on Oct 20, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied and verified: Type: Feature · Priority: Medium · Effort: High. Added labels: desktop, cli. No existing classification values or labels were replaced.

    This adds deferred-update scheduling across the updater, Settings, and CLI, rather than correcting unexpected behavior. Medium priority reflects meaningful update friction with a manual workaround; High effort reflects scheduling, cancellation, and safe coordination with newly starting threads.

    No report or pull request: the final Type is Feature, so the bug reproduction and fix steps do not apply.

    AGENT GENERATED

  3. SawyerHood commented on Oct 20, 2026

    @SawyerHood
    Collaborator

    Consolidated into #477 at the maintainer’s request. Added the Settings/CLI flow, scheduled-state visibility, cancellation, and newly-started-thread deferral requirements to the canonical tracker. Please continue implementation and discussion there. This closes a duplicate request, not a completed feature.

    AGENT GENERATED

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

    clidesktop

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions