fix: 修复跨端样式构建、HMR 与验收证据链 - #1209
Merged
Merged
Conversation
Contributor
PR 性能基准报告:部分结果
总览
Benchmark 项目矩阵
Benchmark 插件处理阶段
Benchmark 内存
Watch 明细
门禁与诊断
运行链接统计口径
|
Web 兼容处理后颜色与长度会展开为 rgb/rgba 和 0.25rem,与压缩后的 hex/.25rem 等价。已按项目重新生成对应 demo-matrix 生产基线。 Related to #1209
框架根样式合并时不再在源码签名未变的情况下整份重新生成,单独缓存干净入口 CSS,避免把已混入框架规则的产物当作增量基线。 Related to #1209
PowerShell 冷启动偶发 ETIMEDOUT 不应直接判为探测失败。Windows 上最多重试三次,并放宽真实路径识别用例的超时。 Related to #1209
Windows runner 上 Playwright 冷启动会挤占 15s 用例预算。将等待本地脚本、重载和启动恢复的用例超时与现有路由用例对齐为 30s。 Related to #1209
生产全量构建里已被产物包含的 CSS 不再先算 scoped runtime 和 candidate signature。热更新漏文件重放路径保持不变。 Related to #1209
…r functions Related to #1209
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.
本次修复解决全端回归发现的样式丢失、增量缓存污染、框架 PostCSS 漏执行和测试误判。Uni App X 小程序保存后保留全局样式与页面布局,Web 构建保留组件及第三方 CSS,UI 测试不再清空发布产物。
本地验证:完整单元 5440 通过、43 跳过;Lint、typecheck、coverage 通过(语句 83.02%、分支 78.56%);完整 build 66/66 通过且无缓存命中。规则检查与 diff 检查通过。Uni、weapp-vite、H5 框架子阶段通过;HBuilderX stable Issue1144 Options/setup 各完成 16 次保存及刷新;Issue1170、开发启动矩阵、Issue1164 和 Issue1160 显式启用回归通过。独立 Expo RN Web/Android/iOS wrapper 12 项通过。
保持草稿,尚未完成全端验收:
原始日志、覆盖率 HTML 和截图保留在本地 e2e/reports/local-full-run/2026-09-15T13-34-05-764Z/,未上传进仓库。跳过、构建成功和历史截图均不计为设备验收通过;未执行发布、合并或远端 CI 等待。