Skip to content

Surface worktree usage in the sidebar without opening the GC dialog #605

Closed

Description

@currentbits

Part of #559.

Show a single line in the sidebar project scope row: worktrees 57.3 GB · 119 when bytes are known, otherwise worktrees · 119. Clicking it opens Settings (existing WorktreeGcSection / GC dialog). No new modal, no nag.

Count can be derived from threads that still hold a worktreePath so the header does not spawn du. Settings already has the sized scan.

Tests: usage rollup renders in the header while data-gc-dialog is absent; click opens Settings.

Activity

  1. added
    plan:todo
    plan:done
    and removed
    plan:todo
    on Aug 20, 2026
  2. currentbits commented on Aug 22, 2026

    @currentbits
    OwnerAuthor

    Verified shipped on main (audit 2026-08-22): implementation present in the working tree, not just on a worker branch. Closing — the planboard never auto-closed these (#632).

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

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions