Skip to content

Clarify cache growth and make DerivedData cleanup selective - #35

Merged
wxy merged 5 commits into
mainfrom
codex/cache-child-clarity
Sep 27, 2026
Merged

wxy merged 5 commits into
mainfrom
codex/cache-child-clarity

Conversation

@wxy

@wxy wxy commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

改动

  • 应用缓存和 DerivedData 的一级目录可点击名称在 Finder 中定位;仅显示当前占用至少 10 MB 的目录。
  • 子目录增长展示一次实际增量、观测跨度和结束时间;不再把短时增量推算为每日速率。
  • DerivedData 只允许逐项选择项目目录或共享缓存,确认影响后移入废纸篓;最近 60 秒有写入的目录暂缓操作。CoreSimulator 设备数据只观察。
  • 子目录清理前重新核对配方、直属关系、符号链接、保护名单、设备/inode 身份和目录树的完整遍历。
  • 旧扫描快照按当前配方与原有记录中较严格的清理级别展示;退出 Xcode 后,详情提示在页面开放期间定时刷新。
  • 修复测试夹具将大文件留在系统废纸篓的问题;测试使用临时目录中的专用废纸篓。

验证

  • Apple Silicon 上 Swift 包测试:核心 202 项、CLI 3 项通过。报告:PR35 审核修复记录、xUnit 结果。
  • macOS App 未签名 Debug 构建通过;git diff --check 通过。
  • 仍需在运行中的 App 检查浮层、Finder 定位、确认弹窗,以及退出 Xcode 后的提示更新。自动测试与编译不能替代这一步。

当前仓库分支为 codex/cache-child-clarity,可直接在该仓库重新构建运行。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T03:31:54.717710Z 4cc3244 PR opened
🔒 Security Review ✅ Completed 2026-09-27T03:32:25.704052Z 4cc3244 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4cc3244c3c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread PoolProblem/PoolProblem/Views/CacheChildrenView.swift
Comment thread PoolProblem/PoolProblem/Views/PoolTankView.swift
Comment thread Sources/DiskReservoirCore/Scanner/ChildDirectoryExplorer.swift
@wxy
wxy merged commit 7de984b into main Sep 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant