Repository navigation
fix(desktop): Core 固定版本从 #177 分支提交 33e6b60 换到 main 4880022(#176、#177) - #2331
Merged
Merged
Conversation
xiaoyumuxi
marked this pull request as ready for review
November 23, 2026 06:04
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
#2321 合入时,
PINNED_CORE_REVISION固定在 Core 分支feat/toolchain-leaf-links-outside-home的提交33e6b60(Lithe-IDEA/Lithe-core-rust#177 的分支提交),这个提交不在 Core main 上。之后 Lithe-IDEA/Lithe-core-rust#176 和 #177 都已合入,Core main 是
4880022。33e6b60只有那个分支引用,分支删除后可能被回收,到时候桌面端就无法按固定版本取得 Core。改动 / Changes
scripts/desktop/build-desktop-core.sh:PINNED_CORE_REVISION从33e6b601…换成 Core main 的4880022b…;4880022与33e6b60的源码完全相同。git diff --stat 33e6b60 4880022只改了 4 个文档文件:shared/plugins/contract/v1/README.md、shared/plugins/reference/domains/languages.md、shared/plugins/reference/domains/settings.md和shared/plugins/reference/protocol-changelog.md,所以 Core 的行为不变。不在本 PR 范围内 / Out of scope
无。
类型专属:fix
复现与根因
git merge-base --is-ancestor 33e6b60 origin/main,结果说明它不在 main 上。期望固定版本是 Core main 上的提交。当前没有用户可观察的缺陷,删除分支后才会出现构建失败。检查项
git grep 33e6b60只有build-desktop-core.sh注释里说明来历的这一处范围检查 / Scope checks
功能矩阵 / Feature matrix
N/A:没有用户可见能力或跨平台行为的变化。已运行
./scripts/platform-feature-matrix/verify-platform-feature-matrix-change.sh origin/main HEAD,结果通过(没有改动平台实现路径)。插件归属 / Plugin ownership
develop-lithe第三节“插件归属与宿主零依赖”的自查命令,结果为空UI 验证 / UI evidence
N/A:没有界面变化。
统一日志系统 / Structured logging
N/A:没有改日志。
界面文案 / i18n
N/A:没有改文案。
逻辑归属 / Logic placement
N/A:没有新增或修改业务逻辑。
性能与内存 / Performance and memory
N/A:Core 源码与之前固定的提交相同。
设置 / Settings
N/A:没有改设置。
插件契约 / Plugin contract
executableLinksOutsideHome是 toolDefinitions 0 内的补充)、docs(plugins): 写明后端决定启动方式的语言服务器在立即生效的设置变化时重新调用启动函数取配置 Lithe-IDEA/Lithe-core-rust#176(只改文档)PINNED_CORE_REVISION已升到包含该契约的 Core main 提交4880022;scripts/desktop/desktop-go.sh暂存的 Core 检出已确认就是这个提交发行包与资源 / Bundle and resources
./scripts/desktop/verify/verify-runtime-bundle-immutability.sh,结果通过无用代码与重构 / Dead code and refactoring
验证 / Verification
git diff --stat 33e6b60 4880022scripts/desktop/desktop-go.sh test -count=1 ./internal/toolchain ./internal/settingswindow ./internal/pluginservice ./internal/i18n4880022构建 Core 后全部通过git -C .artifacts/desktop/lithe-core-rust/source rev-parse HEAD4880022be16c862c6faa6ac18e13c0de61432177./scripts/platform-feature-matrix/verify-platform-feature-matrix-change.sh origin/main HEAD./scripts/desktop/verify/verify-runtime-bundle-immutability.sh未能执行的检查和原因: 没有在 Windows 上本地构建。Core 源码不变,Windows 构建由 CI 覆盖。
提交前确认 / Final checks
main创建;目标分支为main