Repository navigation
fix(remote): 对未提供 macOS Host 安装包给出明确提示 - #2190
Merged
Merged
Conversation
按 SSH 探测返回的目标平台解析安装失败提示,避免平台不支持时误导用户检查网络。保留其他错误映射及下载前拒绝。 fixes vastsa#1707
Owner
Preserve both remote platform and file mutation E2E coverage after main advanced.
vastsa
approved these changes
Nov 8, 2026
vastsa
left a comment
Owner
There was a problem hiding this comment.
独立验证完成:保留新增测试、恢复 main 的错误映射时 2 项失败;候选 18/18 通过,确认 macOS 未发布 Host 目标的错误提示问题真实存在。改动仅细分带明确 darwin target 的 HOST_BOOTSTRAP_FAILED,保留其他失败的原提示。已非破坏性集成 main 23a5a85;本轮重复 18/18 通过、diff-check 通过。实际 PR merge ref 文件树 a09c14f4061c265ed2939ad9a632156a7a20c792 与被测 head 完全一致,六项 CI 全绿(含 Electron E2E;此前 GenUI 失败在本 head 未复现)。未执行真实远端 SSH 安装或外部模型请求,针对性测试使用受控 SSH 边界。范围及兼容行为符合合入条件。
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.
SSH 探测到 macOS 远程目标时没有对应 pi-host 安装包,原界面仍提示检查连接/凭据,容易误认为网络失败。
本修复根据现有 HOST_BOOTSTRAP_FAILED 的 target 元数据,明确提示当前版本只提供 Linux x64/arm64 远程 Host。不会新增 macOS Host 支持,Linux 和其他安装错误保持原提示;不匹配原始 stderr。
Closes #1707
验证:SSH 引导与错误映射 18 项通过,新增平台提示断言在旧代码失败。Darwin 在下载前拒绝,checksum/upload 均未执行;覆盖 x64/arm64、Linux 和未知目标对照。中英规格 89 对/619 页与 diff-check 通过。无真实 SSH/模型请求。CI 验证构建/类型及完整套件。
修复的是 issue 允许的“如果不支持则明确说明”路径,当前版本仍不提供 darwin pi-host。
最新验证:head eb5850d 的 6 项 CI 全部成功。