Repository navigation
chore(build): bun 统一升级到 1.4.3 - #1903
Merged
Merged
Conversation
把仓库里所有「当前使用的 bun 版本」从 1.4.2 提到 1.4.3(npm latest): package.json 的 packageManager、ci/release/sandbox-network/midscene-e2e 四个 workflow 的 setup-bun 与 musl 腿 npm i -g bun、 scripts/build-linux-glibc-baseline.sh、.cursor/install.sh,以及描述当前 pin 的 CLAUDE.md / CONTRIBUTING.md / oncall 文档 / local-dev-update 注释。 历史实测记录(1.4.0/1.4.1/1.4.2 的测量、docs/plans 与 design 里的验证 记录)不动。FIRST_GOOD_BUN 仍故意保持 1.4.1(下限不是 pin)。 「别把『已经在 1.4.x』读成已修好」两处警告改指 1.4.3 并补复测: 1.4.3 → arm64 VALID(17167/17167) x64 INVALID(2/19065,含 slot 0) (以 1.4.2 为对照,逐字复现了已记录的 15075/15075 与 2/16792) darwin-x64 的 codesign 重签依然承重。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
deepcoldy
requested review from
47seek,
LucasIcarus,
xiaoxueSunn and
xiongz-c
as code owners
October 14, 2026 02:30
|
🚀 Released in v3.43.0 |
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.
改了什么
把仓库里所有「当前使用的 bun 版本」从 1.4.2 提到 1.4.3(npm
latest),沿用 #1301 的口径。package.json的packageManagerci.yml/release.yml/sandbox-network.yml/midscene-e2e.yml的setup-bunbun-versionnpm i -g bun@(setup-bun 不支持 musl)scripts/build-linux-glibc-baseline.sh.cursor/install.sh的BUN_VERSION外加描述「当前 pin」的文档/注释:
CLAUDE.md、CONTRIBUTING.md、docs/oncall-group-development.md、src/utils/local-dev-update.ts。为什么这么改 / 刻意没改的
docs/plans、docs/design里的验证记录,以及 1.4.0/1.4.1/1.4.2 的签名测量都是历史事实。FIRST_GOOD_BUN仍保持 1.4.1:它是下限不是 pin,跟着改会让断言变成「pin == pin」。build-bun-binary.mjs与 gate 测试)改指 1.4.3,并补本次复测数据(见下)。bun.lock无需重新生成。影响面
只改构建工具链版本,不改运行时代码和任何依赖版本。影响 CI 全部 job 与本地开发链路;不涉及具体 CLI 适配器、后端或会话类型。
实测验证
所有验证都在
/tmp下的独立 worktree 里跑,用的是隔离安装的 bun 1.4.3(1.4.3+c6da4a4d3),没有改动本机全局 bun,也没有在任何共享 worktree 里跑 install。锁文件兼容性
darwin 交叉编译签名复测(hello-world 交叉编译后,本地重算 CodeDirectory 页哈希;以 1.4.2 作对照,逐字复现了已记录的数字)
darwin-x64 的 codesign 重签仍然承重,不能删。
版本一致性闸 + 变异
构建 / 编译态
全量
bun run test:bun:1457/1476 个文件通过,19 个红。对这 19 个文件逐文件做 A/B(用同一个 runner、同一份 node_modules):→ 这 14 个文件是本机的环境基线红(root 用户、bwrap/sandbox、pm2 相关),与升级无关;另外 5 个是高负载下的抖动(load avg 约 150),单独跑两边都绿。CI 结果以 GitHub Checks 为准。
🤖 Generated with Claude Code