Skip to content

The Pool Problem v1.2.0 — Growth Insights & Project Directory Monitoring

Latest

Choose a tag to compare

@wxy wxy released this 21 Aug 00:21
· 38 commits to main since this release
b352a31

What's New

  • Growth Insights: track disk growth over time, surface cleanup recipe suggestions, and drill down uncovered space to find the directories that are actually growing.
  • Project directory monitoring: the app discovers your dev directories, groups all node_modules / build outputs into one cleanable entry per type, and only suggests cleaning artifacts that are truly idle — build output after ~1 day, node_modules after 30 days (with a 72-hour write-activity safety window).
  • FSEvents incremental monitoring: disk changes are detected and rescanned without waiting for a full scan.
  • Sharper waterline ruler: 5 GB marks (2× finer), unified E-block style, and a larger usable scale while the deep sediment is shown only partially.
  • Polished visuals: new rising-bubble indicator on the menu-bar icon while scanning/cleaning, arc-following pipe elbow shading, opaque pool wall, and pipes that butt flush against it.

Fixes & Engineering

  • Growth Insights now hides entries under already-monitored dev roots and recipe-covered paths, so no more dead-end "project exists" rows.
  • Per-artifact idle windows: build outputs can be cleaned after a short idle; node_modules is protected longer because rebuilding requires re-downloading dependencies.
  • CLI honors POOLPROBLEM_HOME for testability; CI is test-only, skips expensive simulator-runtime scans, and caches SwiftPM builds (runs in ~1 minute).
  • Waterline scale algorithm keeps cleanable / manual / trash fully visible with a sediment peek instead of forcing the whole used range on screen.

Deployment Notes

  • macOS 14 or later.
  • Signed with Developer ID and Hardened Runtime.

Verification

  • Tests: 134 Core/CLI tests pass.
  • Builds: Release build succeeds; DMG codesign verification passes.

更新内容

  • 增长洞察:追踪磁盘空间随时间的变化,给出清理配方建议,并可下钻“未覆盖空间”定位真正增长的目录。
  • 项目目录监控:自动发现你的开发目录,把全部项目的 node_modules / 构建产物按类型聚合为一个清理条目,只建议清理真正闲置的产物——构建产物闲置约 1 天即可清理,node_modules 需要 30 天(并保留 72 小时写活动保护)。
  • FSEvents 增量监控:磁盘变化即时检测并增量重扫,无需等待全量扫描。
  • 更清晰的水位尺:5GB 一格(密度翻倍)、统一的 E 字块样式、可用比例更大,深部沉淀只显示一部分。
  • 视觉打磨:菜单栏图标在扫描/清理时显示上升气泡;水管弯角改为沿弧线的径向高光;池壁不透明,管道与池壁齐平。

修复与工程

  • 增长洞察排除已监控开发目录子树与配方覆盖路径,不再出现无法操作的“项目存在”记录。
  • 按产物类型区分活跃窗口:构建产物短期闲置即可清理,node_modules 因重建需重新下载依赖而保护更久。
  • CLI 支持 POOLPROBLEM_HOME 便于测试;CI 只跑测试、跳过昂贵的模拟器扫描并缓存 SwiftPM 构建(约 1 分钟完成)。
  • 水位尺算法保证可清理/手动/废纸篓完整可见并保留沉底窥视,不再强制显示全部已用空间。

部署说明

  • 需要 macOS 14 或更高版本。
  • 已使用 Developer ID 与 Hardened Runtime 签名。

验证

  • 测试:134 个 Core/CLI 测试通过。
  • 构建:Release 构建成功,DMG 签名校验通过。