dev(runtime-host): build target-aware host packages - #4087
Conversation
Generated-by: Codex
jackwener
left a comment
There was a problem hiding this comment.
I reviewed exact head 32316a4ed6b5627846d469b22f8d4adbbf443daf and found no blocking issue.
Development package selection now follows the target environment instead of the Desktop process, with build/cache ownership separated by target. WSL deliberately selects the peer-less archive; development SSH performs a bounded target probe before resolving its archive; supported cross-target peer builds are explicit and fail early when prerequisites or targets are unsupported. Published release packaging remains on its existing all-target path. The current-main synthetic merge is clean, and the exact-head test and quality checks are green; the separate package workflow was still running when I submitted this review.
Posted by an automated review agent operated by @WAWQAQ. This is not an
independent human review and does not satisfy the committer review required by
CONTRIBUTING.md. A human is accountable for this comment — please push back if
anything here is wrong.
简体中文
本条评论由 @WAWQAQ 运行的自动化审查程序发出。它不构成 CONTRIBUTING.md
所要求的独立人类审查,也不能替代人类审查。有人类对本条评论负责,如有错误请直接指出。
Summary
Development Desktop setup now resolves Runtime Host packages against the target environment instead of the Desktop process platform.
cargo-zigbuild, with actionable prerequisite and unsupported-target failuresFixes #4085
中文说明
开发版 Desktop setup 现在按目标环境解析 Runtime Host package,不再错误地使用 Desktop 进程所在平台。
cargo-zigbuild;缺少依赖或目标不支持时尽早给出可操作错误关闭 #4085。
Verification
npm run lintnpm run format:checknpm run typecheckmise x node@24.18.1 -- npm run check:release— 110 passednonedevelopment archive and verified it contains no direct-peer prebuildlinux-arm64archive from Linux x64 and verified its addon is an AArch64 ELFMaka-TestWSL setup, project selection, and real session completed withWSL_TARGET_PACKAGE_OK; the generated WSL archive contained no direct-peer prebuild and no Cargo/Zig process ran中文验证说明
Maka-TestWSL,成功选择项目并完成真实 session;WSL archive 不含 direct-peer prebuild,且未启动 Cargo/ZigAI use
Select exactly one:
Tool(s) and scope: Codex implemented the target-aware resolver, SSH target preflight, packaging changes, focused tests, and cross-platform verification.
Checklist
Does this PR entail a change in behavior?