Repository navigation
fix(connect): 恢复断线会话并修正公网网关故障诊断 - #208
Merged
Merged
Conversation
added 12 commits
November 22, 2026 11:51
按尝试阶段选择票据超时,分别恢复失败的票据和环境描述请求。仅明确拒绝连接时报告本机端口故障,远端收到网关错误时保留未确认的跳点并链接本仓库的排查指南。
公网端点重新发现失败时保留原凭据供局域网连接使用。客户端保留票据响应状态,统一处理旧版中继和公网端点的网关错误,并按实际连接路径展示详情。
|
This PR changes the test suite by +23 test cases (browser 0, unit +23, server 0). Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
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.
Problem
公网隧道抖动后,主机可能已经恢复,但客户端仍停在旧地址,或者丢掉还能用于局域网直连的凭据。裸 502/503 也可能被误报为主机离线,导致用户重启健康的服务。首版修复 #206
Change
Scope
涉及 Web、桌面和移动端共享的授权与连接诊断、凭据存储适配及主机端探测。
Verification
vp run check:changed,11 个文件的 221 项测试通过。相对原始分支点运行同一检查,14 个文件的 299 项测试通过。两次均完成 35 个包的类型检查。另重放第四至第十二轮的 34 项独立故障用例,全部通过。模型与执行环境为 GPT-6.2-astra,Codex(T3 Code)。