Conversation
This branch has not been deployed
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.
启动工作卡发送较慢时,原生思考消息可能先出现在话题中;等待期间停止轮次,旧思考也可能在慢卡片返回后补发。本改动等待同一会话中所有起始卡片发送结束,再核对当前轮次和停止状态。
时序示意
sequenceDiagram participant W as Worker participant C as 起始卡片发送 participant T as 原生思考消息 W->>C: 启动回复卡和状态卡发送 W->>T: 思考更新(缓冲) Note over W: 继续执行,不等待展示 C-->>T: 所有卡片发送结束 alt 当前轮次仍有效 T->>T: 创建消息并发送缓冲内容 else 已停止、被替代或等待超时 T->>T: 放弃尚未显示的旧消息 end验证
bun run build通过。cot-message、recall-frozen-cards、trigger-streaming-card、close-stream-card-untouched共 157 项通过。cot-message通过;recall-frozen-cards因已有vi.hoisted由 Node 覆盖。CI 说明
官方 CI 首次运行的工作流结论为
success:8 个任务通过,bun-test失败。基线3830d824的.github/workflows/ci.yml:158已为该任务配置continue-on-error: true,因此它当前是非阻断检查;不能将整体通过表述为 9 项全部通过。Bun 全量的 1269 个可运行文件中 1268 个通过;唯一失败为原有
test/dashboard-ipc-probe.test.ts:25。日志显示请求端口 39611 和下一端口 39612 都被占用,服务正确返回 39613,但测试固定断言 39612。该测试及src/core/dashboard-ipc-server.ts与基线3830d824的文件 SHA-256 一致,未在本 PR 中修改。未跳过测试或放宽断言,首次失败记录保留。当前集成的 Actions 重跑请求返回 403;若需重跑该非阻断任务,需有仓库 Actions 写权限的维护者操作。此项重跑不作为本批交付阻塞项,PR 仍待评审和真实客户端验证。