Repository navigation
test(workspace): verify deferred handoff details in Chat smoke - #9437
Conversation
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
让现有打包 Chat 的回归用例严检暂缓交办的原始原因和接收方,保持回复与结论的语义区别。同一已打包 UI 可显示原因和值,但旧 locator 等待组合前缀字符串,在原目标分支超时。打包 Chat 的交付验证,以及复用现有场景的 release/CI 调用方。
暂缓交办可见值。同一份验证过的打包资产使用基线 smoke 时,30 秒超时于等待带“原因”前缀的旧字符串。基线与候选生产代码相同。当前头完整打包 chat-recovery 场景 PASS。断言仍绑定交办区的精确原因、接收方和已送达状态,并保留拒绝虚假完成、窄屏、未核验回执及后续 Turn 连续性检查。
macOS Chromium + source-verified 打包资产,协作数据来自场景的脚本化 HTTP 夹具。远端 CI 归因、安装版、真实交办回执读写与跨平台未验证。 评审依据
改动思路 / Approach
Chat 组件拥有可见投影,浏览器场景依据精确的记录值验证该投影并保留现有其他断言。继续用同一个 scenario,以 fixture 的原因值直接断言。仅删除前缀或改成模糊匹配会削弱验证。没有新增 harness 或重复场景。
packaged chat-recovery → 交办 region → WorkerNowLine 和 WorkerScopeTag → 现有浏览器验收。
具体改动 / Changes
精确提交 73d12b24117230387d0736d271c5479ded55f0d9,目标分叉点 b34f0e6157968251dedbd88552ccad34c4fdeef9。对照的早先失败版本为 b34f0e6157968251dedbd88552ccad34c4fdeef9。1 个现有场景文件,+4 / −3,产品和其他测试入口未变。
chatRecoveryScenario。保留已暂缓的结构化夹具,与两个可见精确值对照。 源码CollaborationCard。用 WorkerScopeTag 渲染接收方,用 WorkerNowLine 呈现原因。 源码协作状态投影。规范化原因用于当前焦点,避免相同文案另渲染一次。 源码
对主干的风险 / Risks
本轮未发现阻塞问题。共享包清单通过基线与当前的源码校验。基线在旧前缀定位失败,当前完整打包场景和标准本地预检通过。
我的整体评价 / Verdict
APPROVE。 产品渲染未改,原场景的接收决定、不是已回传结论的约束、桌面与窄屏、进程连续性都继续执行。
English verdict: APPROVE at 73d12b2. The same packaged UI fails with the stale baseline locator and passes the complete Chat recovery scenario with the new exact-value checks.
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com>
73d12b2 to
7da7237
Compare
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · deepseek-flash · DeepSeek · runtime_reported · high
Approval conclusion (author-owned PR; GitHub blocks formal self-approval)
动机 / Motivation
让现有打包 Chat 的回归用例严检暂缓交办的原始原因和接收方,保持回复与结论的语义区别。同一已打包 UI 可显示原因和值,但旧 locator 等待组合前缀字符串,在原目标分支超时。打包 Chat 的交付验证,以及复用现有场景的 release/CI 调用方。
暂缓交办可见值。同一份验证过的打包资产使用基线 smoke 时,30 秒超时于等待带“原因”前缀的旧字符串。基线与候选生产代码相同。当前头完整打包 chat-recovery 场景 PASS。断言仍绑定交办区的精确原因、接收方和已送达状态,并保留拒绝虚假完成、窄屏、未核验回执及后续 Turn 连续性检查。
macOS Chromium + source-verified 打包资产,协作数据来自场景的脚本化 HTTP 夹具。远端 CI 归因、安装版、真实交办回执读写与跨平台未验证。 评审依据
改动思路 / Approach
Chat 组件拥有可见投影,浏览器场景依据精确的记录值验证该投影并保留现有其他断言。继续用同一个 scenario,以 fixture 的原因值直接断言。仅删除前缀或改成模糊匹配会削弱验证。没有新增 harness 或重复场景。
packaged chat-recovery → 交办 region → WorkerNowLine 和 WorkerScopeTag → 现有浏览器验收。
具体改动 / Changes
精确提交 7da723785132d7989fb7c2d36f60137019e95a93,目标分叉点 b34f0e6157968251dedbd88552ccad34c4fdeef9。对照的早先失败版本为 b34f0e6157968251dedbd88552ccad34c4fdeef9。1 个现有场景文件,+4 / −3,产品和其他测试入口未变。
chatRecoveryScenario。保留已暂缓的结构化夹具,与两个可见精确值对照。 源码CollaborationCard。用 WorkerScopeTag 渲染接收方,用 WorkerNowLine 呈现原因。 源码协作状态投影。规范化原因用于当前焦点,避免相同文案另渲染一次。 源码
对主干的风险 / Risks
本轮未发现阻塞问题。共享包清单通过基线与当前的源码校验。基线在旧前缀定位失败,当前完整打包场景和标准本地预检通过。
当前 exact head 复核 / Rebased-head validation
PR #9437 已无冲突 rebase 到 origin/main 2302e42d9cad35a8a4150e24496ffecfbfdce8cb,当前精确头为 7da723785132d7989fb7c2d36f60137019e95a93。本轮在新 base 上重新执行定向测试、静态检查和 diff 级 premerge。
最终 exact head 复核:修改后的 Chat recovery 浏览器 smoke 脚本通过 Node 语法检查;标准 premerge、公共边界检查与 diff 检查通过。该 PR 只修正已存在 smoke 对 deferred handoff 原因和接收方的断言,不改变产品运行代码。
我的整体评价 / Verdict
APPROVE。 产品渲染未改,原场景的接收决定、不是已回传结论的约束、桌面与窄屏、进程连续性都继续执行。
English verdict: APPROVE at 7da7237. The same packaged UI fails with the stale baseline locator and passes the complete Chat recovery scenario with the new exact-value checks.
Outcome
The packaged Chat smoke checks that a deferred handoff shows the exact recorded reason and recipient. The collaboration card introduced in #9197 renders the reason in the worker’s current-focus line and the recipient in a scope tag. The browser test now checks both visible values.
Verification
b34f0e6157merge base and on feat(workspace): read archived Goal executions on demand #9436 at60645c0083, the existing packagedchat-recoveryscenario timed out waiting for the old reason prefix.chat-recoveryscenario passed on this patch. The existing checks for sent delivery, unresolved original handoff, desktop and narrow widths, and model Turn continuity remain in the scenario.This addresses the shared browser failure observed on #9436.