Repository navigation
fix(core): 固定版本换成 Lithe-core-rust main 的 43e3f27(含 #134、#135、#136) - #2243
Merged
Merged
Conversation
xiaoyumuxi
marked this pull request as ready for review
November 20, 2026 16:42
15 of 18 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.
关联 Issue / Linked issue
PR 类型 / Type
改动说明 / What changes
背景 / Why
#2242 合入时,桌面端固定的 Core 是 Lithe-core-rust#135 分支上的提交
8291f3c。#135 之后以 squash 方式合入 Core main,成了83a9f92,8291f3c不在 Core main 上,只能通过 #135 的 PR 引用取到。发布桌面端之前,固定版本应当指向 Core main 上的提交。之后 Lithe-core-rust#136 也合进了 Core main(43e3f27),这次一起固定到它。改动 / Changes
scripts/desktop/build-desktop-core.sh:PINNED_CORE_REVISION从8291f3c(Check for Windows updates on startup #135 分支)换成43e3f27(Core main),注释同步改写。43e3f27相对8291f3c多带进两个 Core PR,桌面端的 Go 代码都不需要跟着改:be62724):远程连接安全(SSH 选项白名单、安装校验、会话令牌、日志轮转),只改rust/crates/remote。43e3f27):远程连接生命周期写入日志 v2(S34),改rust/crates/remote、rust/logging/events/remote.json和生成的诊断目录,以及workspace里接线远程会话的两处。桌面端的internal/core日志点测试读这份事件目录,在新固定版本上通过。8291f3c相同。不在本 PR 范围内 / Out of scope
main,fork 有 1 个未合入的补丁 fix(platform): draw lines wider than a texture from a window of them on Windows and Linux Lithe-IDEA/Lithe-viva#50),由维护者另行处理。类型专属:fix
复现与根因
git -C <Core 检出> merge-base --is-ancestor 8291f3c origin/main返回非零,固定的提交不在 Core main 上。期望固定 Core main 上包含同一修复的提交。检查项
multicall_link_other_test.go在新固定版本上仍通过。merge-base命令。8291f3c。.agents/notes/implemented/bug-fix/记录:只换固定版本。范围检查 / Scope checks
功能矩阵 / Feature matrix
N/A:不改变功能或跨平台行为。
插件归属 / Plugin ownership
develop-lithe第三节“插件归属与宿主零依赖”的自查命令,结果为空:本 PR 只改一个脚本里的提交号和注释。shared/i18n/;插件的构建步骤、资源路径和补丁没有写进docs/ci-builds.md、Agent Note 或 Skill。UI 验证 / UI evidence
N/A:没有界面变化。
统一日志系统 / Structured logging
N/A:没有新增或改动日志事件。
界面文案 / i18n
N/A:没有新增或修改用户可见文字。
逻辑归属 / Logic placement
N/A:没有改动逻辑,只换 Core 固定版本。
性能与内存 / Performance and memory
N/A:不新增后台功能、子进程或缓存。
设置 / Settings
N/A:不新增或修改设置项。
插件契约 / Plugin contract
scripts/desktop/build-desktop-core.sh的PINNED_CORE_REVISION已升到包含该契约的 Core commit:43e3f27。node shared/plugins/scripts/sdk-e2e.mjs:没改插件后端协议。发行包与资源 / Bundle and resources
N/A:不新增运行时资源、缓存、下载物或构建步骤。
无用代码与重构 / Dead code and refactoring
refactor标签的 Issue,没有在本 PR 顺手处理:没有发现。验证 / Verification
node scripts/desktop/validate-pins.mjscore 43e3f27… is reachablescripts/desktop/desktop-go.sh vet ./...(不设LITHE_CORE_RUST_DIR,脚本自己取出43e3f27编译)scripts/desktop/desktop-go.sh test ./internal/toolchain/... ./internal/projectgen/... ./internal/core/... -count=1未能执行的检查和原因:
./...测试和 Windows 测试:只换固定版本,相对8291f3c的差别是远程连接的 右下角加一个实时fps检测吧 #134、feat(windows): restore project opening and title menu workflows #136,交给 CI。提交前确认 / Final checks
main创建;目标分支:feat、fix、docs 为main,release 以发布流程要求为准.build/、target/、dist/、.artifacts/等产物,没有凭据、个人路径和未脱敏的日志或截图