Skip to content

Disk Cleanup

Running parallel branches multiplies build folders (target/, node_modules/, .next/) on both your computer and remote SSH servers. Runside shows each project’s cache right inside Workspaces and includes a full fleet cleaner under Disk & Caches.

  • Inside Workspaces: Clicking a folder’s cache pill (such as 1.2 GB cache) opens Workspace Build Caches with Safe Reclaimable vs Protected (In Use) totals and a 2-click Clean Safe Caches confirmation.
  • Global Disk & Caches View: Select Disk & Caches in the sidebar (or ⌘K → Disk & Caches) to scan and clean across All Machines or one machine at a time. Under All Machines, clickable per-machine total pills filter results without rescanning.
  • Active Project Roots: Derived automatically from running process folders (resolved to each repository root).
  • Configured workspace_roots: Optional extra workspace parent folders (e.g., ~/Projects, /srv/worktrees) added in Settings (⌘,) to catch idle repositories.
  • Allowlisted Artifact Folders (maxdepth = 3, symlinks skipped):
    • target/ (verified sibling Cargo.toml)
    • node_modules/ (verified sibling package.json)
    • .next/ and .turbo/
    • .venv/ and venv/
  • Docker Reclaimable Storage: Reclaimable Docker Build Cache and Docker Images.
  • Local DB Snapshots: Measures local snapshot storage so old archives can be removed when no longer needed.
  1. In Use Active-Workspace Protection: Any cache folder overlapping a running process stays marked In Use, cannot be checked, and is automatically skipped during cleanup.
  2. Strict Allowlist Checks: Cleanup rejects relative paths, .. traversal, shallow paths (depth < 3), symlinks, and any directory outside the allowlist.
  3. Production Lock: Cache cleanup on production machines stays blocked whenever Production Lock is active.
  1. Check total Reclaimable vs Protected (In Use) bytes.
  2. Click Select Safe (or toggle individual boxes; switches to Clear once items are selected).
  3. Click Clean Selected and verify removed paths and freed bytes in the Activity drawer (⌘.).