Skip to content

fix(desktop): Core 固定到 main 957a349,#64 合入后换掉分支 commit - #2034

Merged
xiaoyumuxi merged 1 commit into
mainfrom
fix/pin-core-957a349-console-filters
Nov 16, 2026
Merged

xiaoyumuxi merged 1 commit into
mainfrom
fix/pin-core-957a349-console-filters

Conversation

@xiaoyumuxi

Copy link
Copy Markdown
Collaborator

关联 Issue / Linked issue

#2029 已合入,关闭了 #2025。本 PR 是 #2029 留下的收尾:#2029 合入时 PINNED_CORE_REVISION 还指向 Core 功能分支上的 commit,这里改为 Core main 上的合入 commit。

PR 类型 / Type

  • feat:新功能或用户可见的改进
  • fix:缺陷修复
  • docs:文档、Agent Note、Skill 等规则文件
  • release:稳定版发布准备

改动说明 / 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

不在本 PR 范围内 / Out of scope


类型专属:fix

复现与根因

检查项

  • [N/A] 回归测试:只改固定版本,没有代码行为变化;用桌面端测试确认新版本兼容
  • [N/A] 无法自动化时的手动步骤:同上
  • 已搜索 PINNED_CORE_REVISION 的使用方:只有 scripts/desktop/build-desktop-core.sh 定义,构建与 desktop-go.sh 读取它
  • [N/A] 另一平台同类缺陷:两端共用同一个固定版本
  • 只改了固定版本和它的注释
  • [N/A] 不改变行为约束,不需要 bug-fix Note

范围检查 / 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.mjs macOS arm64 通过
node scripts/i18n/generate-i18n.mjs --check macOS arm64 通过
./scripts/platform-feature-matrix/verify-platform-feature-matrix.sh macOS arm64 通过
./scripts/platform-feature-matrix/verify-platform-feature-matrix-change.sh origin/main HEAD macOS arm64 通过(没有平台实现路径变化)
./scripts/agent-notes/verify-agent-notes.sh macOS arm64 通过,162 篇
./scripts/desktop/verify/verify-runtime-bundle-immutability.sh macOS arm64 通过
gofmt -l ./internal ./cmd macOS arm64 无输出
../scripts/desktop/desktop-go.sh vet ./... macOS arm64 通过
../scripts/desktop/desktop-go.sh test ./internal/core ./internal/i18n ./internal/settingswindow ./internal/workbench -count=1 macOS arm64 全部通过
gh api repos/Lithe-IDEA/Lithe-core-rust/commits/main — Core main 最新提交就是 957a349

未能执行的检查和原因:

  • 没有在 Windows 虚拟机上实机运行,Windows 由 CI 覆盖。
  • 只跑了与 Git 控制台相关的四个包和全量 vet;其余包由 CI 覆盖。

提交前确认 / Final checks

  • 分支从最新的 main 创建;目标分支 main
  • 以 Draft 提交,本地验证通过后才标记 ready
  • 没有无关改动,没有提交产物、凭据或个人路径
  • 只运行了组件测试,没有启动 Lithe 应用,没有进程残留

- PINNED_CORE_REVISION 从 Core#64 分支的 5aae479 改为 Core main 上 #64 的压缩合入 commit 957a349;
  5aae479 不在 Core main 历史里,功能分支删除后可能取不到。
- 两者差别只有 Core#65(db54ba0,workspace 仓库标识、选择和变更分组进入 Core),随这次升级进入桌面端。
@ghfind-review ghfind-review Bot added the review: high ghfind author score; see https://ghfind.com label Nov 16, 2026
@xiaoyumuxi
xiaoyumuxi marked this pull request as ready for review November 16, 2026 09:35
@xiaoyumuxi
xiaoyumuxi merged commit ebdea8a into main Nov 16, 2026
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review: high ghfind author score; see https://ghfind.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant