Repository navigation
LS-88: 修复 ProxyCommand 网关公钥拒绝后的无限重连 - #40
Merged
Merged
Conversation
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
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 握手前拒绝公钥时,保留脱敏后的认证拒绝原因,并在监控状态中标记为 SSH 认证失败。后台状态轮询和非交互 shell 不再自动重试该拒绝。手动刷新、重试失败连接和修改连接配置均可重新拨号。网络断流继续走原有重试路径,连接成功记录等待认证完成。
P1 返工恢复了
genClient先返回SSHClient的跨传输契约。状态监控和非交互 shell 在等待认证时读取脱敏后的网关错误。第二轮 P1 返工让 2 KiB stderr 尾部始终使用同一个可增长列表。大块输出后的认证拒绝可继续入缓冲区,认证成功可清空尾部并继续排空 stderr。
验收证据(review-evidence/v1)
Linux Flutter 3.47.8 测试引擎通过 36 项 SSH 测试。握手超时回归另行定向运行并通过。使用生产 Dart 源码、本地子进程和内存 SQLite 的隔离测试项目,绕过 Linux 缺少的全应用原生编译工具。
Python 基线 295 项通过。运行时将测试用的 HOME 解析与 scratch 重定向到临时目录,包含启动隔离子进程的用例。
修改文件的 Dart 静态分析和
git diff --check通过。head
811944c900e088bdd734efb6349223bb0693d0c0的 GitHub 基线检查已通过。该提交通过 Mac 实机 SSH 专项测试。当前 head
9108d9af831d04627386340ae56f5b9e38144cb5在 Linux 隔离环境通过 38 项 SSH 测试及 295 项 Python 基线。两个新增回归在上一版本均失败,在此版本均通过。Dart 静态分析与差异检查通过,同一 head 在 macOS arm64 实机的隔离 Flutter 项目中通过全部 38 项 SSH 测试,包括大块 stderr 后的拒绝诊断和认证后的排空。完整应用构建受原生依赖限制,服务器卡片、详情页和 WebKit UI 待验证。Closes LS-88