Repository navigation
fix(desktop): Core 固定到 main 957a349,#64 合入后换掉分支 commit - #2034
Merged
Merged
Conversation
- PINNED_CORE_REVISION 从 Core#64 分支的 5aae479 改为 Core main 上 #64 的压缩合入 commit 957a349; 5aae479 不在 Core main 历史里,功能分支删除后可能取不到。 - 两者差别只有 Core#65(db54ba0,workspace 仓库标识、选择和变更分组进入 Core),随这次升级进入桌面端。
xiaoyumuxi
marked this pull request as ready for review
November 16, 2026 09:35
27 tasks done
28 of 33 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
#2029 已合入,关闭了 #2025。本 PR 是 #2029 留下的收尾:#2029 合入时
PINNED_CORE_REVISION还指向 Core 功能分支上的 commit,这里改为 Core main 上的合入 commit。PR 类型 / Type
改动说明 / What changes
背景 / Why
#2029 依赖 Lithe-IDEA/Lithe-core-rust#64,开发期间
PINNED_CORE_REVISION固定在 #64 分支feat/console-filters的5aae479。#64 是压缩合入 Core main 的(957a349),5aae479不在 Core main 的历史里;功能分支删除后,这个 commit 可能取不到,构建就会失败。仓库规则要求固定到包含改动的 Core main commit。改动 / Changes
scripts/desktop/build-desktop-core.sh:PINNED_CORE_REVISION从5aae479(fix(maven): detect projects below workspace root #64 分支)改为957a349(Core main,fix(maven): detect projects below workspace root #64 的合入 commit)。957a349是 fix(maven): detect projects below workspace root #64 压缩合入,下面是 release: merge preview/0.2.0 into main #65(db54ba0),再下面是 fix: improve Git log performance and graph lanes #63(ad148ec)。db54ba0,workspace 仓库标识、选择和变更分组进入 Core),它也随这次升级进入桌面端。fix(maven): detect projects below workspace root #64 自己的内容在两个 commit 里相同。不在本 PR 范围内 / Out of scope
类型专属:fix
复现与根因
gh api repos/Lithe-IDEA/Lithe-core-rust/compare/5aae479...957a349返回diverged(ahead 2、behind 4),即 main 上的固定版本不是 Core main 的祖先。期望固定版本在 Core main 上,功能分支删除后仍能取到。检查项
PINNED_CORE_REVISION的使用方:只有scripts/desktop/build-desktop-core.sh定义,构建与desktop-go.sh读取它范围检查 / Scope checks
功能矩阵 / Feature matrix
N/A:没有用户可观察的变化,只换了 Core 的固定版本。
插件归属 / Plugin ownership
N/A:只改了固定版本,没有触及插件相关代码或测试。
UI 验证 / UI evidence
N/A:没有界面变化。
统一日志系统 / Structured logging
N/A:没有日志事件变化。
界面文案 / i18n
N/A:没有文案变化;i18n 检查照常运行并通过。
逻辑归属 / Logic placement
N/A:没有新增业务逻辑。
性能与内存 / Performance and memory
N/A:没有运行时行为变化。
设置 / Settings
N/A:没有设置变化。
插件契约 / Plugin contract
N/A:#64 和 #65 都没有改插件契约、能力版本或插件函数协议。
发行包与资源 / Bundle and resources
N/A:没有新增资源;
verify-runtime-bundle-immutability.sh照常运行并通过。无用代码与重构 / Dead code and refactoring
N/A:没有代码改动。
验证 / Verification
本机为 Apple M4、macOS arm64,
LITHE_CORE_RUST_DIR指向检出在957a349的 Core。node scripts/i18n/verify-app-language-localization.mjsnode scripts/i18n/generate-i18n.mjs --check./scripts/platform-feature-matrix/verify-platform-feature-matrix.sh./scripts/platform-feature-matrix/verify-platform-feature-matrix-change.sh origin/main HEAD./scripts/agent-notes/verify-agent-notes.sh./scripts/desktop/verify/verify-runtime-bundle-immutability.shgofmt -l ./internal ./cmd../scripts/desktop/desktop-go.sh vet ./...../scripts/desktop/desktop-go.sh test ./internal/core ./internal/i18n ./internal/settingswindow ./internal/workbench -count=1gh api repos/Lithe-IDEA/Lithe-core-rust/commits/main957a349未能执行的检查和原因:
vet;其余包由 CI 覆盖。提交前确认 / Final checks
main创建;目标分支main