perf(build): prune dead dependencies and consolidate contract tests - #2220
Merged
limityan merged 1 commit intoAug 11, 2026
Merged
Conversation
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.
变更说明
本 PR 在不迁移运行时 owner、不扩大产品 feature 的前提下,继续收敛 Rust 编译图和 integration-test 链接拓扑:
syntect-tui时显式保留原 feature union 实际生效的 Oniguruma 后端,避免高亮引擎或性能语义被静默切换。check:core-boundaries拓扑合同,锁定 exact target、leaf 和required-features;没有新增 checker、package script 或 CI job。收益
Cargo.lockpackageCargo.lock仅删除 7 个 package,没有新增、升级或降级。三平台 normal/build 闭包复算结果:product-full这里只报告确定的依赖/链接拓扑收益,不在缺少同机多轮 A/B 时宣称 wall-clock 提速。
架构与行为边界
product-full闭包保持不变,真实 adapter/service owner 仍持有相关能力。--test <target> <module>::<filter>聚焦执行;合并不会跨外部系统或 process failure domain。.github流水线零变更,不把 CI 扩张为全量校验入口。验证
node --test scripts/check-core-boundaries.test.mjs:80/80node scripts/check-core-boundaries.mjscargo check --locked -p bitfun-cli --binscargo check --locked -p bitfun-desktopcargo test --locked -p bitfun-page-function-runtime:5/5cargo test --locked -p bitfun-miniapp-market-service:24/24cargo metadata --offline --locked --format-version 1 --no-depsgit diff --check提交前按架构/依赖/测试拓扑三个维度完成两轮独立对抗复审,并在变基到最新
main后再次核对,P0–P3 均无 finding。