Skip to content

fix(remote): 对未提供 macOS Host 安装包给出明确提示 - #2190

Merged
vastsa merged 3 commits into
vastsa:mainfrom
yg2224:fix/ssh-platform-error-1707
Nov 8, 2026
Merged

vastsa merged 3 commits into
vastsa:mainfrom
yg2224:fix/ssh-platform-error-1707

Conversation

@yg2224

@yg2224 yg2224 commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

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 全部成功。

按 SSH 探测返回的目标平台解析安装失败提示,避免平台不支持时误导用户检查网络。保留其他错误映射及下载前拒绝。

fixes vastsa#1707
Copilot AI balanced review requested due to automatic review settings November 8, 2026 12:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

vastsa commented Nov 8, 2026

Copy link
Copy Markdown
Owner

独立核对了 #1707、当前未发布 Darwin 目标的生产引导路径及 IPC details 传递。保留新回归并换回主干错误映射后,两项断言失败(仍为 hostBootstrapFailed);恢复候选后 SSH 引导/错误映射 18/18 通过。无真实 SSH 或模型调用。

原 head 未包含最新 main b94d1fb,已在独立工作树无冲突集成,重跑上述 18 项通过、diff-check 通过,并以普通推送保留原作者提交。新 head 641e481,等待新 CI 及最终合并候选核验后再批准合入。

Preserve both remote platform and file mutation E2E coverage after main advanced.

@vastsa vastsa left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

独立验证完成:保留新增测试、恢复 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 边界。范围及兼容行为符合合入条件。

@vastsa
vastsa merged commit f692995 into vastsa:main Nov 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] macOS 远程主机 SSH 安装失败:未发布 darwin pi-host,界面只提示远程操作失败

3 participants