fix: recover from canceled cascade panel transport - #64
Merged
Conversation
huanchen
pushed a commit
to huanchen/WindsurfAPI
that referenced
this pull request
May 3, 2026
识别并清理 Cascade transport 异常(pending stream canceled / ECONNRESET / ERR_HTTP2 / session closed),命中后主动 closeSessionForPort + 清 lsEntry workspaceInit/sessionId 强制重建会话。warmup 不再吞 transport 错误避免日志误导,统一归类为 upstream_transient_error 在多账号链路退避,附回归测试。 感谢 @baily-zhang
dwgx
pushed a commit
that referenced
this pull request
May 9, 2026
识别并清理 Cascade transport 异常(pending stream canceled / ECONNRESET / ERR_HTTP2 / session closed),命中后主动 closeSessionForPort + 清 lsEntry workspaceInit/sessionId 强制重建会话。warmup 不再吞 transport 错误避免日志误导,统一归类为 upstream_transient_error 在多账号链路退避,附回归测试。 感谢 @baily-zhang
dwgx
pushed a commit
that referenced
this pull request
Jun 4, 2026
识别并清理 Cascade transport 异常(pending stream canceled / ECONNRESET / ERR_HTTP2 / session closed),命中后主动 closeSessionForPort + 清 lsEntry workspaceInit/sessionId 强制重建会话。warmup 不再吞 transport 错误避免日志误导,统一归类为 upstream_transient_error 在多账号链路退避,附回归测试。 感谢 @baily-zhang
dwgx
added a commit
that referenced
this pull request
Jun 29, 2026
Backfill contributors who were merged but never added to the thanks page, with weight tiers calibrated against existing entries: - #64 baily-zhang (S) — cascade transport canceled-session recovery - #163 you922 (A) — LS crash self-heal: exponential-backoff restart - #204 lovivi (B+) — glm-5.2 gpt_native tool dialect fix - #90 smeinecke (B+) — inline proxy on add-account form - #88 smeinecke (B+) — ALLOW_PRIVATE_PROXY_HOSTS opt-in for local proxy - #89 smeinecke (B) — login-flow i18n + error-code standardization Synced src -> docs via sync:contributors. Also gitignore .workflow-results/ (local audit artifacts, not source). dashboard tests 17/17.
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.
背景
在 Claude Code / OpenCode 这类重客户端场景下,部分请求会在 InitializeCascadePanelState 阶段收到 The pending stream has been canceled,随后代理持续返回 502。此时账号本身通常仍然健康,问题不在 token、额度或模型权限,而在 Cascade/本地语言服务器的 HTTP/2 transport 会话已经进入坏状态。
这次修复了什么
验证