Repository navigation
fix(desktop): Core 固定到 main ad148ec,带上 #62 合入版和 macOS 进程组修复 - #2024
Merged
Merged
Conversation
#2023 把 PINNED_CORE_REVISION 暂时固定到 Lithe-core-rust #62 分支上的 c0dd2a4。#62 和 #63 都已合入 Core main,这里改为 main 上的 ad148ec: - #62(b401949,内容与 c0dd2a4 相同):Unix 文件名里的 \ 和 : 是名字的 一部分,含 D:\logs 的项目树不再报错(#2009)。 - #63(ad148ec):macOS 上进程组只剩未回收的僵尸进程时 kill 返回 EPERM, 不再当成失败。停止或重启语言服务器不再误报 "Language-server process tree did not exit.",关闭 SSH 会话不再误写清理失败的 WARN(#2017)。 功能矩阵 lsp-lifecycle 的 verification 记录 #63;两端状态不变。宿主代码 没有改动。
xiaoyumuxi
marked this pull request as ready for review
November 16, 2026 08:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue / Linked issue
PINNED_CORE_REVISION还固定在 Core Fix/issue 35 worktree crash #62 分支上的 commit。PR 类型 / Type
改动说明 / What changes
背景 / Why
#2023 合入时,Lithe-core-rust #62 还没有合入,所以
PINNED_CORE_REVISION暂时固定在 #62 分支fix/2009-unix-backslash-file-names上的c0dd2a4。现在 #62 和 #63 都已 squash 合入 Core main,main 上的 commit 依次是6a14126→b401949(#62)→ad148ec(#63),中间没有别的提交。发版只应固定到 main 上的 commit,分支删除后不能长期依赖c0dd2a4。改动 / Changes
scripts/desktop/build-desktop-core.sh:PINNED_CORE_REVISION从c0dd2a4改为 Core main 的ad148ec;历史注释里原来"Fix/issue 35 worktree crash #62,尚未合入"那一段,改写为 fix: improve Git log performance and graph lanes #63 和 Fix/issue 35 worktree crash #62 各自在 main 上的 commit。新带进来的两个 Core 改动:b401949):git diff c0dd2a4 b401949为空,内容与 fix(desktop): Core 固定到 c0dd2a4,Unix 文件名里的反斜杠不再让项目树报错 (#2009) #2023 已经测试过的版本完全相同。Unix 文件名里的\和:是名字的一部分,含D:\logs文件夹的项目树不再报错([Bug] 导入Springboot项目出现异常 #2009)。ad148ec):只改了git-host的 Unix 进程组和平台测试。macOS 上,进程组里的进程都已退出、但还没被回收时,kill(-pgid, …)返回EPERM,Core 原来把它当成失败,现在也视为已发出信号;进程是否真的结束,仍由ProcessTree::terminate在截止时间内等待判断。因此:remote.session.cleanup_failed的 WARN 日志([Bug] macOS 上 lsp_process 测试不稳定:terminate 后 dispose 报 EPERM(Language-server process tree did not exit) #2017)。shared/platform-feature-matrix/features/lsp-lifecycle.json:在verification末尾记录 fix: improve Git log performance and graph lanes #63 的修复和 Core 回归测试命令。两端的实现状态和验证状态不变。宿主代码没有改动。
不在本 PR 范围内 / Out of scope
:的路径)还没有修。类型专属:fix
复现与根因
检查项
TestProjectTreeShowsUnixNamesWithBackslashes(fix(desktop): Core 固定到 c0dd2a4,Unix 文件名里的反斜杠不再让项目树报错 (#2009) #2023 新增)在ad148ec上通过。a_unix_tree_of_exited_unreaped_processes_ends_without_error在 Core 仓库,修复前失败、修复后通过,见 fix: improve Git log performance and graph lanes #63。c0dd2a4。范围检查 / Scope checks
功能矩阵 / Feature matrix
lsp-lifecycle的verification;两端状态不变。Fix/issue 35 worktree crash #62 的记录已在 fix(desktop): Core 固定到 c0dd2a4,Unix 文件名里的反斜杠不再让项目树报错 (#2009) #2023 写进file-explorer。./scripts/platform-feature-matrix/verify-platform-feature-matrix.sh和./scripts/platform-feature-matrix/verify-platform-feature-matrix-change.sh origin/main HEAD。.artifacts/下生成的矩阵视图。插件归属 / Plugin ownership
UI 验证 / UI evidence
N/A:没有界面变化。
统一日志系统 / Structured logging
N/A:桌面端没有新增或改动日志事件。Core #63 修复后,SSH 会话清理不再误写
remote.session.cleanup_failed。界面文案 / i18n
N/A:没有界面文字改动。
逻辑归属 / Logic placement
性能与内存 / Performance and memory
N/A:Core #63 没有新增进程、线程、缓存或轮询。
设置 / Settings
N/A。
插件契约 / Plugin contract
scripts/desktop/build-desktop-core.sh的PINNED_CORE_REVISION升到 Core main 的ad148ec。Fix/issue 35 worktree crash #62 和 fix: improve Git log performance and graph lanes #63 都没有改插件契约、能力版本、插件函数协议或宿主方法。发行包与资源 / Bundle and resources
N/A:没有新增运行时资源。
无用代码与重构 / Dead code and refactoring
N/A:没有。
验证 / Verification
本机为 Apple M4,macOS 27.3,Go 与 Rust 1.100.0。
git diff c0dd2a4 b401949(Core 仓库)./scripts/desktop/desktop-go.sh test ./... -count=1;Core 构建的 identity 为core-revision=ad148ec…、core-source=pinned、core-worktree=clean./scripts/desktop/desktop-go.sh test ./internal/workbench -run TestProjectTreeShowsUnixNamesWithBackslashes -count=1 -v./.agents/skills/write-stable-tests/scripts/verify-test-stability.sh及--base origin/main./scripts/platform-feature-matrix/verify-platform-feature-matrix.sh./scripts/platform-feature-matrix/verify-platform-feature-matrix-change.sh origin/main HEADnode scripts/i18n/generate-i18n.mjs --check未能执行的检查和原因:
提交前确认 / Final checks
main(d363bddbc),目标分支main。