Repository navigation
fix: improve Git log performance and graph lanes - #63
Merged
Merged
Conversation
Scrolling the Git log dropped frames and heated the machine because the whole workbench view tree was re-evaluated once per second while no commit row could be skipped. - Sample managed memory every 5s instead of 1s, move the process-tree walk off the main thread, and publish only when a displayed value changes. The popover opts back into per-sample updates because it shows the running average and runtime. - Group commit-row callbacks so rows compare by data and can be pruned, replacing four closures allocated per row per redraw. - Drop the hover-driven lane width change that repainted a row's canvas on every pointer crossing. - Track pointer-cursor hover outside view state; nothing in the body reads it. - Write NSScrollView chrome properties only when they change, so re-tiling no longer feeds back into layout. Verified: ./scripts/test-macos.sh (271 tests), verify-service-boundaries.sh, verify-git-graph.sh, verify-shared-contracts.sh. verify-core.sh fails on a missing TerminalBuffer.swift path, which reproduces without these changes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Lanes were kept in a packed list, so `insert(at:)` and `remove(at:)` renumbered every later lane whenever a merge opened or closed one. A branch unrelated to that merge would sit in lane 2 above the row border and lane 3 below it. Because the renderer draws each incoming lane as a vertical segment at a lane-derived x, the two segments could not meet and the branch appeared to break. Replaying this repository's history through the layout showed 149 such shifts across 300 commits. Lanes are now fixed slots: a slot is cleared in place and reused once free, never shifted, so a branch holds one x for its whole visible life. Only trailing empty slots are trimmed, which never renumbers a live lane. `incomingLaneColors` therefore carries `nil` for unoccupied slots. Verified: replaying all 448 commits of this repository now reports zero broken lane continuations and zero parent edges landing on an empty lane, down from 149. Lane continuity is now asserted in scripts/GitGraphVerification.swift. ./scripts/verify-git-graph.sh, ./scripts/test-macos.sh (271 tests), verify-service-boundaries.sh, and verify-shared-contracts.sh pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1lck
added a commit
that referenced
this pull request
Nov 14, 2026
Agent Note 与功能矩阵的验收步骤改用新名称,记录 Store 收录状态(Lithe-store#62 已合并,#63 等本规则发布)。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1lck
added a commit
that referenced
this pull request
Nov 14, 2026
* feat(plugins): 同一语言只由一个已启用插件提供语言服务器 启用插件或确认安装后,其他已启用、且为同一语言声明语言服务器的插件会被自动 停用:Core(Lithe-core-rust#39)在 plugins.installed.lifecycle 里返回 displacePlugin,宿主记为停用、停掉它的语言服务器和后端,提示用户停用了谁、 为什么,并为已打开的共享语言文档启动新插件的服务器。 - pluginmanager 规划时为每个已安装版本读出清单 languageServers,Apply 返回 Outcome(Changed、Displaced),新增 Enable。 - pluginservice.StopDisplaced 停止被顶替插件的程序。 - 工作台 plugin_displace.go:读名称、摘除服务器、后台停止、提示和重启服务器。 - 新文案 desktop.marketplace.languageServerDisplaced(中英)。 - Core 固定修订升到 a320d16(#38、#39)。 - 功能矩阵与 Agent Note 同步。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(plugins): 工作台安装第二个同语言插件时停用第一个并提示 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(plugins): 轻量 Java 插件改名为 Java Support Lite Agent Note 与功能矩阵的验收步骤改用新名称,记录 Store 收录状态(Lithe-store#62 已合并,#63 等本规则发布)。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 14, 2026
xiaoyumuxi
added a commit
that referenced
this pull request
Nov 16, 2026
#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;两端状态不变。宿主代码 没有改动。
7 of 10 tasks
12 of 15 tasks
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.
This PR contains the two Git fixes previously developed locally:
Changes are limited to the Git log and graph behavior.