Repository navigation
release: prepare desktop-v0.8.12 - #2244
Merged
Merged
Conversation
11 of 14 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
43e3f27,已合入 main;本 PR 已 merge 最新 main)PR 类型 / Type
改动说明 / What changes
背景 / Why
自
desktop-v0.8.11以来,main合入了 6 个 PR:#2230、#2238、#2239、#2240、#2241、#2242。发版前还有两项要做:release-lithe的要求做 Viva 发版前同步。检查时上游main比 fork 多 4 个提交,fork 有 1 个未合入的补丁(Lithe-viva#50)。main上的提交。为了只跑一轮完整 CI,这两项和版本号、发布说明放在同一个 PR 里。合入后,发布目标提交同时包含 Viva 新固定版本和 Core 新固定版本。发布说明是按这个目标提交写的。
改动 / Changes
desktop/go.mod、desktop/go.sum:Viva 固定版本升级(详见下方“Viva 同步报告”):require github.com/vivaui/viva v0.6.7-0.20261120163035-faaa437dcc1b(上游faaa437)replace … => github.com/Lithe-IDEA/viva v0.6.7-0.20261120164822-909613b5c9a4(forkmain的909613b)go.sum只替换了Lithe-IDEA/viva的两行。scripts/desktop/build-desktop-core.sh的PINNED_CORE_REVISION换成 Coremain的43e3f27并合入 main。本 PR merge 了最新 main,这个文件不再出现在改动里,0.8.12 用的就是这个固定版本。be62724,远程连接安全)和 feat(windows): restore project opening and title menu workflows #136(43e3f27,远程连接生命周期写入日志 v2)。两者都只改rust/crates/remote和它的日志事件,桌面端 Go 代码不用跟着改。internal/core的日志点测试读的是新事件目录,在新固定版本上通过。desktop/viva.toml:[app].version从0.8.11升到0.8.12。按release-lithe的规则,这一版只有修复和兼容的新能力,所以只升修订号。docs/releases/v0.8.12.md:新增中英双语发布说明,结构照docs/releases/TEMPLATE.md。desktop-v0.8.11..本 PR 的全部用户可见改动:#2241、#2242、#2230、#2239、#2238和 Viva 同步。#2240与 Core 右下角加一个实时fps检测吧 #134/feat(windows): restore project opening and title menu workflows #136 是远程开发的底层准备,还没有用户能用的功能,所以没写。commandInstallers能力版本 1。能力版本的差异取自两版 Core 固定版本之间capabilities.rs的 diff:本窗口内只有commandInstallers从[0]变为[0, 1]。不在本 PR 范围内 / Out of scope
desktop-release.yml;合入后等维护者明确授权再打desktop-v0.8.12。release-litheSkill 和模板:另开 docs(release): 发布说明列出插件需要的新宿主能力 #2245。Viva 同步报告(按 2026-11-11 Note 要求)
同步前 fork
main:d354e3c8(基于上游39376802)。合入的上游提交范围:
39376802..faaa437d,共 4 个提交:54981a3cfeat(ui): compose themed buttons and joined icon actions80b8f0c9perf(windows): keep terminal grid text formats and layouts33de1510perf(windows): draw a colored terminal row in one GDI call per passfaaa437dfix(package): recommend the cursor theme libraryfork 上的合并顺序:
33de151,merge commit6db17da6;86ce2618;faaa437,merge commit909613b5。三个都用 merge commit 合入,没有 squash。
faaa437是我们完成第一次同步后,上游在 00:30 才合入的,所以单独补了一个 docs: add shared AI development skill #52。同步后 fork
main:909613b5c9a4。git merge-base --is-ancestor upstream/main main为真。54981a3c:新增主题按钮组合、相连图标操作的 API。Lithe 暂时没用,现有调用点不需要改。80b8f0c9、33de1510:Windows 终端网格复用文本格式和布局,每一遍用一次 GDI 调用画完一行彩色文字。行为不变,只是更快。faaa437d:viva package生成的 DEB、RPM、PKGBUILD 把libxcb-cursor列为推荐依赖。Lithe 的 Linux 包随之变化,HiDPI 桌面的鼠标指针会跟随系统大小。.Disabled(...)、手画readOnlyField、fileTree.wheel、verticalWheel、Splitter 方向键与终端/编辑器组合键路由。这 4 个上游提交都没有碰输入框禁用、只读文本框、Tree 横向滚轮或分隔条键盘路由,没有可以替换的新写法。desktop/下没有引用 Viva PR 或 Issue 的注释和跳过的测试。本次没有删除或新增绕过代码。类型专属:release
版本号(
MAJOR.MINOR.PATCH):0.8.12上一个稳定版 tag:
desktop-v0.8.11docs/releases/v0.8.12.md已按docs/releases/TEMPLATE.md写好(中文在前、英文在后),并运行node scripts/release/notes/validate-stable-release-notes.mjs docs/releases/v0.8.12.md:通过内容来自
desktop-v0.8.11到本 PR 之间的提交、PR、测试和已知限制,没有编造功能、兼容性、下载文件或修复下载文件名沿用 0.8.11 的命名(
lithe-<版本>-darwin-arm64.dmg、-darwin-amd64.dmg、-windows-amd64-setup.exe),版本号的唯一来源是desktop/viva.toml贡献者名单已按
gh pr view和gh api users/<login>核验:@Mucheen(fix(desktop): 保存工具链后刷新构建提供者 #2230)、@xiaoyumuxi(fix(search): 全局搜索的 ⓘ 和页签名称放进同一个页签块 #2238–fix(toolchain): 固定 Lithe-core-rust#135,rustup 的 cargo 代理按原名启动 #2242、Viva 同步、Core 右下角加一个实时fps检测吧 #134/Check for Windows updates on startup #135/feat(windows): restore project opening and title menu workflows #136)[N/A] 修改了 GitHub Actions 工作流的,已运行
actionlint:没有修改.github/workflows/本 PR 不创建 tag、不触发发布工作流、不编辑线上 Release,这些动作等维护者明确要求后再执行
范围检查 / Scope checks
功能矩阵 / Feature matrix
matrix-exempt标签。.artifacts/下生成的矩阵视图。插件归属 / Plugin ownership
N/A:没有改动宿主产品代码、插件契约或测试。
UI 验证 / UI evidence
N/A:本 PR 没有界面改动。Viva 同步带进来的终端绘制和超宽行改动只影响 Windows/Linux 平台层。
统一日志系统 / Structured logging
N/A:桌面端没有新增或改动日志事件。Core #136 新增的远程连接事件由 Core 自己的目录定义,
internal/core的日志点测试已通过。界面文案 / i18n
N/A:没有改动
shared/i18n/或界面文案代码。逻辑归属 / Logic placement
N/A:没有改动 Rust Core 或桌面端业务逻辑。
性能与内存 / Performance and memory
N/A:没有改动 Lithe 的运行时代码。Viva 的 Windows 终端改动减少了绘制调用。没有改动 Viva 编辑器模块,所以没跑编辑器基线。
设置 / Settings
N/A:没有改动设置项。
插件契约 / Plugin contract
commandInstallers1 已随 Core 功能建议:设置支持日志相关操作 #133 和桌面 feat(plugins): 命令安装器支持下载固定地址的压缩包 #2241 合入。PINNED_CORE_REVISION是 Coremain上的43e3f27。sdk-e2e.mjs:没有修改。发行包与资源 / Bundle and resources
N/A:没有新增运行时资源或构建步骤。Linux 包的推荐依赖来自 Viva 打包工具,不涉及 bundle 运行时写入。
无用代码与重构 / Dead code and refactoring
验证 / Verification
node scripts/desktop/validate-pins.mjsviva v0.6.7-0.20261120164822-909613b5c9a4 resolves,core 43e3f27… is reachablenode scripts/release/notes/validate-stable-release-notes.mjs docs/releases/v0.8.12.mdscripts/desktop/desktop-go.sh vet ./...(Viva909613b、Core43e3f27)scripts/desktop/desktop-go.sh test ./...(Viva6db17da,即同步33de151后)scripts/desktop/desktop-go.sh test ./internal/toolchain/... ./internal/projectgen/... ./internal/core/... -count=1(Core43e3f27)go vet ./...;go test ./...(同步33de151后)cmd/viva有两类失败。第一类是 14 个打包测试报min_system 12.0,这是本机工具链导致的。第二类是select.go.txt过期导致的两个配方测试失败。这两类失败在上游33de151和 forkd354e3c上同样出现。GOOS=windows GOARCH=amd64/arm64 go build ./...,GOOS=linux GOARCH=amd64 go vet ./...go vet ./cmd/viva;go test ./cmd/viva -run 'Linux|RPM|Deb|Arch|Tarball|PKGBUILD'(faaa437合并后)main树与本地测过的分支是否一致:git diff --quiet f70b300c 909613b5,git diff --quiet f619908f 86ce2618未能执行的检查和原因:
generate-desktop-icons.sh、generate-desktop-file-icons.sh):本次没有改 SVG,交给 CI。909613b上重跑完整桌面测试:它相对已测过的6db17da多了 feat(windows/git): 实现[W2] Git 安全工作流与冲突恢复 #50(只改 Windows/Linux 平台层,macOS 上编译不到)和faaa437(只改cmd/viva打包工具与文档),交给 CI。提交前确认 / Final checks
main创建;目标分支:feat、fix、docs 为main,release 以发布流程要求为准.build/、target/、dist/、.artifacts/等产物,没有凭据、个人路径和未脱敏的日志或截图