feat(workbench): run 中可见派发队列与撤销/改向语义(#1965) - #1981
Merged
Merged
Conversation
Co-authored-by: Codex <codex@vectorcontrol.tech>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
run 中可见派发队列与撤销/改向语义(#1965,UX F7)
接续已合入的 pendingIntents 基础模型,本 PR 完成 F7 的可见队列层:
ComposerDispatchQueue可见队列组件 +pendingIntents派发状态机扩展(排队/派发中/重试/失败、置顶/上移/下移、改向、重试上限 3 次/延迟 1.5s)+ ConversationHost 接线。语义诚实合同:队列只安排「下一轮派单」的顺序与目标,不打断正在运行的 run;steer 语义 = 对下一次派发的排序/改向,不是对在飞任务的干预;撤销只取消派单,已发送消息保留在转录中(UI 文案明示)。
验收对照
ComposerDispatchQueue可见列表,序号/状态/目标/预览(80 字截断)可见;aria-live摘要区分 running/idleComposerDispatchQueue.test.tsx、dispatchQueue.test.tsxPendingIntentMove/retargetPendingIntent;重试状态机有上限与延迟常量pendingIntents.test.ts(状态机/移动/改向/重试穷尽)composer.queue.*22 键中英成对resources.test.ts键集/占位符一致性;verify-i18n-callsitesPASS验证证据(本机,rebase 后复跑)
app/workbenchvitest 串行:143 文件 / 1431 用例全绿app/sharedvitest 串行:152 文件 / 2640 用例全绿overflow=false全过toast.pendingDispatchBadge(被可见队列取代),全仓无残留引用real_tested=false(L0 单元/静态 + visual shell;未跑真实 Hub 栈与 Playwright 真实登录流)
Closes #1965