Skip to content

fix: stop redundant Git refresh loops - #69

Merged
1lck merged 1 commit into
mainfrom
codex/fix-large-project-performance
Aug 13, 2026
Merged

1lck merged 1 commit into
mainfrom
codex/fix-large-project-performance

Conversation

@1lck

@1lck 1lck commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • prevent read-only Git queries from updating .git/index and retriggering workspace observation
  • publish Git and aggregate model state only when observable data changes
  • remove the duplicate Git refresh during initial workspace loading
  • add regression coverage and v0.2.1 release notes

Validation

  • ./scripts/test-macos.sh (274 tests, 20 suites)
  • ./scripts/verify-rust-core.sh (156 Rust Core tests plus Swift bridge/link verification)
  • cargo test -p lithe-core --test git_watch_context
  • ./scripts/verify-service-boundaries.sh
  • cargo fmt --manifest-path rust/lithe-core/Cargo.toml --check
  • git diff --check
  • packaged release arm64 app and manually opened the full Lithe repository
  • observed no repeated Git subprocesses, unchanged .git/index, and 0% idle CPU for 45 seconds after refresh

Release

This is the macOS v0.2.1 performance patch.

@1lck
1lck merged commit c152373 into main Aug 13, 2026
2 checks passed
@xiaoyumuxi
xiaoyumuxi deleted the codex/fix-large-project-performance branch September 10, 2026 15:59
xiaoyumuxi added a commit that referenced this pull request Nov 16, 2026
* feat(desktop): 工具和生态的隐藏目录改由插件声明,Core 固定到 #72 (#1856)

- 宿主读取插件语言时,把已启用的构建系统插件和 VCS 插件的清单交给 Core 的
  workspace.configureVisibility;名单变化后每个打开的标签页重读已展开目录。
- 文件图标的排除目录样式只认这份名单,不再写死 target、build、node_modules 等名字。
- 本地历史 ⓘ 说明改为如实描述:默认规则就是隐藏目录,删掉对应的行也不会开始记录。
- 收掉 #69 留下的死代码:BuildRuntimeRequirement.HostManaged 和按运行时名字回退到 PATH 的分支。
- 仓库选择 fixture 测试跳过 #71 新增的 chosen 用例(桌面端还不发送,#2013)。
- PINNED_CORE_REVISION 升到 Lithe-core-rust #72 分支 a88fe73(已含 main 上的 #69、#71)。
- 新增 Agent Note,归档 Python 环境跳过的旧 Note,更新构建契约和仓库发现 Note、功能矩阵,
  补本地历史说明的中英文截图。

* chore(desktop): Core 固定到 main ac8825b,#72 合入后换掉分支 commit (#1856)

Lithe-core-rust #72 已 squash 合入 main(ac8825b),同时带上 #74 的 git.workspacePushPreview(桌面端还不调用,对已有代码只把三个函数改为 pub(crate))。
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