Repository navigation
fix: 显示独立后台回执和清单状态 - #308
Merged
Merged
Conversation
## 现象 审计缺口 1、2、3、8。历史压缩后,后台完成回执只露日志尾巴,团队投递标记消失。没有助手气泡可挂载时,后台回执和清单更新整行看不到。 ## 根因 压缩给保留的 HumanMessage 重分配 ID 时只复制了正文。主聊天系统行与用户行未消费 task_event 和 plan_update,旧任务日志被当成普通用户正文。 ## 修复 复制保留 HumanMessage 标记。主聊天支持独立后台回执及清单状态行。旧完成回执的日志尾部默认折叠,仍可按需展开。合并回传和旧版恢复信封另批处理。 ## 验证 - 4 个元数据回归在原实现全部失败,修复后通过。压缩、微压缩和历史相关 pytest 共 52 通过,Ruff 通过。 - 主聊天真实 Chromium 3 例由红转绿。用临时会话与真实 checkpoint 验证新压缩和旧格式回放,用会话 WS 注入帧验证系统行与唤醒回执行。 - tsc、全量 Vitest 2103 例、Next 静态构建通过。
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
现象
审计缺口 1、2、3、8。历史压缩后,后台完成回执只露日志尾巴,团队投递标记消失。没有助手气泡可挂载时,后台回执和清单更新整行看不到。
根因
压缩给保留的 HumanMessage 重分配 ID 时只复制了正文。主聊天系统行与用户行未消费 task_event 和 plan_update,旧任务日志被当成普通用户正文。
修复
复制保留 HumanMessage 标记。主聊天支持独立后台回执及清单状态行。旧完成回执的日志尾部默认折叠,仍可按需展开。合并回传和旧版恢复信封另批处理。
验证