chore(cli): 升级 Rspack core 至 2.1.8 - #423
Merged
Merged
Conversation
Contributor
Author
独立复核结论(非批准)基于实际提交
残余风险:native binding 的跨平台安装闭包和更广泛 Rspack 插件路径未逐一做生产探针;当前检查与全量构建已覆盖本仓库门禁。此评论不代表自批准。 |
Contributor
Author
合并后补充 P2 兼容发现独立 reviewer 在合并后完成了缓存边界实测:Rspack 2.1.8 对 这不是 PR #423 的 CI/P0/P1 阻断,但属于公共配置语义的 P2 兼容风险,已单独创建 Issue #424 记录证据、方案与验收标准;等待用户确认后再实施运行时迁移或文档+回归测试。 |
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.
背景
核心依赖扫描将
@rspack/core 2.1.5 → 2.1.8标记为EVALUATE(critical、patch)。官方 v2.1.8 发布说明包含 runtime/binding 修复、CSS/HMR 改进与持久缓存语义对齐;EMP 当前配置只生成默认持久缓存选项,没有使用需迁移的cache.storage.directory。上游发布说明:https://github.com/web-infra-dev/rspack/releases/tag/v2.1.8
改动
packages/cli的精确@rspack/core依赖更新到2.1.8。pnpm-lock.yaml中 Rspack native binding 及 peer snapshot 闭包。风险与回滚
storage.directory未出现在 EMP 配置路径。cf32df46恢复到2.1.5。验证
corepack pnpm install --frozen-lockfilecorepack pnpm test:toolchain:12/12corepack pnpm --filter @empjs/chain buildcorepack pnpm --filter @empjs/cli testcorepack pnpm --filter @empjs/cli test:real:80/80corepack pnpm workflow:checkcorepack pnpm ci:verify:通过(含规则/集成 49 项)corepack pnpm empbuild关联:Issue #414