Repository navigation
fix(cluster): SSH 暂断时保留原 VM 推理会话 - #1168
Merged
Merged
Conversation
(cherry picked from commit 55c7ea84e9d1e405aeb9b932456f32c4bf36fdc8)
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 4912a271-a66b-4271-b419-a3165ba12e15) |
60cec60 起 live CRAG health 会在推理 POST 前校验 license, 该用例未准备 license,被 license_unconfigured 403 挡在上游之前。
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 719bf75d-ee23-40bc-8901-de210d5e8e40) |
This was referenced Nov 17, 2026
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.
改动
503 cluster_slot_reconnecting。不修改手动停调度和维护状态。502 cluster_delivery_unconfirmed或 SSE 错误事件,不合成成功结束。本地验证
git diff --check通过。api-channel-routing审查计数断言不稳定,单文件复核 35/35,同文件在主线也出现审查计数断言失败;不将整套核心集标为通过。docs/PANEL_API.md启用。Note
High Risk
Changes cluster slot routing, pool scheduling, inference transport, and error semantics on critical request paths; misbehavior could strand sessions, drop in-flight work, or mis-report delivery.
Overview
Decouples TLS direct-link health from the SSH management path and changes how cluster slots stay schedulable during link blips.
The control plane now probes
kin-slot-gateevery 5s (independent of SSH).direct_link.stateuses fresh probe results instead of SSH-backed checks.slotDataPath/vmNodeDataPathclassify each VM asssh,direct, oroffline: during SSHbackoff/connecting, an existing relay plus a healthy gate can keep the VM on the direct TLS path instead of treating the node as offline.Scheduling and transport wait on the sticky/home VM within the existing budget when both paths are down (
503 cluster_slot_reconnecting), prefer the home VM whendirectis viable, and require real worker/kernel health on the direct path—not gate ping alone.SocketRelaywaits for gate acceptance before forwarding bytes and can safely fall back to SSH only before payload crosses the gate.No silent replay: possibly-delivered cluster requests surface
502 cluster_delivery_unconfirmed; failover, kernel-router retries, stream truncation, and SSE handling stop without account failover or max_tokens fake completion. Slot diagnosis and local proxy probing are adjusted so SSH-only checks don’t falsely fail egress/container state when direct data path is up.Reviewed by Cursor Bugbot for commit 8b93c6e. Configure here.