Repository navigation
Conversation
MFSGA
force-pushed
the
master
branch
2 times, most recently
from
November 5, 2026 12:29
d438e21 to
08d037d
Compare
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.
2026-11-04:创建 PR 时 master 的后续 ref pin 更新
创建本 PR 时,远端
master已从本地重放基线7932af9a再次前进至772bceaa56c6f2b0d00f1f9d89996b8f6e817caf,其中引入了上游ref5ed3c019e13015fc5b06fc8d7069b330607d9036和 runtime81e93043c29cb60425077f4419dcbd60d6f2b8c9pin 及 Core local-host 改动。PR 仍是相对最新master的 5 个指定文件,mergeable=true,未改动这些 gitlink。重要区分: 本 PR 的 316 条文件路径扫描是一份以任务开始时固定
ref 518bf498为基线的历史审计快照,不得宣称它反映新5ed3c019的全部目录分类。已通过 GitHub 在新5ed3直接核对backend/tauri/src/utils/open.rs:blob81e415e3dc8c451e552a6b65d2612e1d63e4fc24与本 PR 提交同路径 完全一致;新 ref 的utils/init/mod.rs仍使用#[cfg(test)] mod tests;,因此本批对齐方向在新 pin 下仍有效。新版本将若干业务组件迁入backend/nyanpasu-core/src,后续必须重新做新 ref 的逐目录/逐文件基线扫描,不能沿用旧版backend/tauri/src路径数量判断具体迁移工作量。最终签名提交和本地全库测试在
7932af9a父提交上完成;GitHub 对当前 PR merge ref 的新 CI/E2E 是最新master的必要补充证据,目前尚未标记通过。未执行独立 Reviewer 批准或合并。目标与基线
第一批逐目录/逐文件路径对齐(L1,非行为性重排)。以只读
refgitlink518bf49843e1f735380e11da1ebe2a85eb8ce8c6为来源,最初扫描从master ddad1aac开始;在提交前远端master已因两次版本号更新前进至7932af9adab9cefe3970394b17427649d581ddf7,确认两个新版本提交不修改本批文件后,重签名重放本 PR 的唯一提交。最终 head7360549029b714f55b67bc913d35a4138f76a8ee。固定 runtime gitlink2cb1160996f912b536418cb62bda470d097c1190不变。独立工作树实现;原主检出与 #585 未修改。逐文件对齐结果
ref/backend/tauri/src/utils/open.rs→backend/tauri/src/utils/open.rs:整个文件已恢复与 ref 逐字节一致。原有that()/with()两个接口、AppImagexdg-open/指定程序调用行为完全保留;只是按上游排列函数、恢复注释/属性。现有ipc.rs、help.rs调用方保持不变。ref/backend/tauri/src/utils/init/{mod.rs,tests.rs}→ 同路径:Chimera 原内嵌startup_file_tests的五项旧配置文件保护测试原样移至init/tests.rs,父模块改为上游式#[cfg(test)] mod tests;。断言不变、五项测试仍执行,不将其误称为上游迁移子进程测试已对齐。docs/ref-path-alignment-audit-20261104.md:逐路径扫描backend/tauri/src的 316 条 Rust 文件路径(239 个 ref、210 个 Chimera、133 个路径共有;6 个内容相同、127 个不同、106 个 ref-only、77 个 Chimera-only),按目录统计,并对utils/逐项判定:对齐、必要品牌/兼容差异、需要完整调用链迁移的目录。其余文件路径标注为“待语义审查”,不是已经验收。docs/ref-alignment-progress.mdDIFF-072:固定 ref 映射、修改范围、保留差异、回滚和下一批扫描。不会盲目复制
core/geo的旧实例状态(Chimera 有更安全的实例隔离与补偿刷新)、utils/hwid的不同品牌盐、core/migration中未经迁移恢复测试的新模块、state/profiles的类型端口或utils/net的代理参数:涉及持久数据与共享 API 时,将另开有界实现批次。实际验证(最终 head SHA
73605490)cargo test --locked --manifest-path backend/Cargo.toml -p chimera --lib -- --test-threads=2:782 passed / 0 failed / 1 pre-existing ignored。cargo clippy --locked --manifest-path backend/Cargo.toml -p chimera --all-targets --all-features:pass(存在项目既有警告);Rustfmt、Prettier 文档格式、git diff --check全部 pass。风险、审查与回滚
这批改动仅包含 Rust 函数排列和测试模块移动,不改生产调用链、配置 schema、协议、构建依赖、Core/Service、Agent、Main/Legacy、release/workflow。范围内风险 L1,独立 Reviewer 尚未完成;本 PR 不自动合并。发现问题时回退该单个签名提交即可,恢复原测试模块与原函数排列,无需数据/子模块恢复。
下一批推荐按
core/migration/的 registry → runner → modules → fs/store/recovery,再client/application_workflow/逐文件做真实结构对齐;任何大范围持久化格式迁移另行审批和验证。