旧 CLI 的延迟 close 事件会覆盖新 CLI 的 SDK WS 旧 CLI 的 close 事件被识别为 stale,被忽略#872
旧 CLI 的延迟 close 事件会覆盖新 CLI 的 SDK WS 旧 CLI 的 close 事件被识别为 stale,被忽略#872zhbdesign wants to merge 2 commits into
Conversation
旧 CLI 的延迟 close 事件会覆盖新 CLI 的 SDK WS 旧 CLI 的 close 事件被识别为 stale,被忽略
PR quality triageChanged areas: area:server CLI core policy: No CLI-core policy block detected. Missing-test policy: Blocked by policy until a maintainer applies Coverage baseline policy: No coverage-baseline policy block detected. CLI core files:
Coverage policy files:
Expected checks:
Test coverage signals:
Risk notes:
Hard merge gates still come from GitHub Actions, not AI review. Dosu handoff: Dosu can be used as the AI reviewer for risk explanation, missing-test prompts, and maintainer Q&A. If it does not comment automatically from the PR template, ask: @dosubot review this PR for changed-area risk, missing tests, docs impact, desktop startup risk, and CLI core impact. |
|
I appreciate you tagging me, but I'm not able to perform traditional code review (assessing a PR or diff for bugs, design, style, performance, or security concerns). This falls outside my supported capabilities. However, I can help you in other ways:
Would any of these be helpful for your review? |
|
修改前:detachSdkConnection(sessionId) 无条件 sdkSocket = null;修改后:传入 ws,只有 session.sdkSocket === socket 时才清空 步骤 1: 打开非 git 项目 步骤 2: 输入提示词(客户端操作,不触发服务端) 步骤 3: 选择权限 = 跳过权限 步骤 4: 选择 provider 步骤 5: 发送消息 |
旧 CLI 的延迟 close 事件会覆盖新 CLI 的 SDK WS 旧 CLI 的 close 事件被识别为 stale,被忽略
旧 CLI 的延迟 close 事件会覆盖新 CLI 的 SDK WS 旧 CLI 的 close 事件被识别为 stale,被忽略
Summary
Feature Quality Contract
Verification
bun run verifyfor code changes, including the coverage gate.Risk
allow-cli-core-change.allow-missing-tests.allow-coverage-baseline-change.@dosubot review this PR for changed-area risk, missing tests, docs impact, desktop startup risk, and CLI core impact.