状态:已完成
开始日期:2026-09-02
64d48f6eee/private/tmp/zcode-todo64-run.SWhC6y本报告只记录真实运行证据与已经执行的修复。计划与裁决边界见
todo-64-provider-e2e-real-run-repair-closeout.md。
| Case | 初始状态 | 最早失败点 | 根因分类 | 处理 | 定向结果 | 分组结果 |
|---|---|---|---|---|---|---|
| MP-UI-01 | 失败 | 测试把名称编辑按钮误当成详情页身份 | test | 改为断言选中的 Provider 导航身份 | 通过 | Settings UI 7 通过、1 环境跳过 |
| MP-UI-06 | 失败 | 旧断言把 placeholder 当成 value | test | 空 Overlay 断言空 value;显式 {} 断言 canonical value |
通过 | Settings UI 7 通过、1 环境跳过 |
| I08 | 失败 | Helper 错读 maxOutputTokens.default,而 GUI 保存正式字段 .max |
helper | 修正 Personal Rule readiness Helper | 通过 | 对应 spec 通过 |
| Repo Wiki settings | 失败 | Case 附带了非职责范围的无 Provider 断言 | test | 删除该 E2E 断言,空 Ready View 继续由单测覆盖 | 通过 | Repo Wiki spec 通过 |
| Repo Wiki produces | 失败 | 新模型选择只保留身份,丢失 reasoning | production | 统一调用 completeNewModelSelection() 形成完整 Selection |
通过 | Repo Wiki spec 通过 |
| OTB08-OTB10 | 失败 | 旧期望重复扣除了 usage anchor 已覆盖的 assistant | fixture/test | cap 修正为 41,671,并同步 replay Fixture 与文档 | 通过 | Preflight spec 通过 |
| I20 | 失败 | 共享 Helper 断言已删除的 budget_tokens;冷启动又发现初始完整 Selection 未落稳定事件 |
helper/production | 删除旧字段断言;创建 Session 后立即持久化初始完整 Selection | 通过 | I20 spec 通过 |
| I26 | 失败 | Seed 缺少完整 reasoning/readiness 前提 | fixture/helper | 使用完整 Selection seed 并等待 Registry 就绪 | 通过 | Restart Recovery 4/4 通过 |
| I27 | 失败 | 旧期望依赖已删除的 Account-first;Configured Default 路由缺 replay | fixture/test | 断言回退有效 Configured Default,并补 DeepSeek replay | 通过 | Restart Recovery 4/4 通过 |
| I28 | 失败 | 同 I27 | fixture/test | 同 I27 | 通过 | Restart Recovery 4/4 通过 |
| I31 | 失败 | 重复选择当前原生 option 不保证触发事件;另有无消费者 transition state | test/residual state | 改为设置页往返保持;删除残余状态和伪 reconciliation | 通过 | Settings Transition 3/3 通过 |
| QR-E2E-09 | 失败 | 初始失败不可稳定复现,隔离及整份 spec 均通过 | isolation | 不改生产语义 | 通过 | Coding Plan/Quota 18/18 通过 |
共性 Helper 已收口到当前字段与完整 Selection;没有新增 E2E 专属 Registry、旧 Account API seed或固定模型名推断。配置传播使用现有有界状态等待;Template 创建后保留用户已裁决允许的 2 秒 polling 收尾窗口。
Repo Wiki、I26–I28、I31 均按当前 Selection 设计完成。审查确认 Renderer 中没有恢复 Account-first 分支;有效 Configured Default 仍由 Host preferredSelection 统一解析。
MP-UI-01/I08、OTB08–10 和 QR-E2E-09 均取得可复现证据或隔离结论。唯一新发现的生产 Bug 是冷启动 Session 没有稳定持久化初始完整 Selection;已用失败单测固定并修复。没有剩余需要产品裁决的失败。
preferredSelection 唯一回退,不新增 Account-first 或模型 ID 特化。budget_tokens 强制断言、无消费者 transition state 与旧字段 Helper;最终机械搜索结果见提交前验证。runtime-persistence.test.ts 65/65,Bootstrap transcript-hydration.test.ts 61/61。typecheck:通过。lint:通过,保留仓库既有 35 条 warning,没有 error。git diff --check:通过。fmt:check:被既有 vendor/electron 文档非法 HTML 与二进制 gb2312.js 阻塞;本轮修改文件均通过 oxfmt --check。运行方式:
export PATH="$HOME/.local/share/mise/shims:$HOME/.local/bin:$PATH"
export ZCODE_E2E_SKIP_BUILD=1
pnpm --filter @zcode/desktop test:e2e:serial -- --spec <spec>
主要 artifact:
.e2e-artifacts/desktop-e2e-20260902-173941-528/summary.md.e2e-artifacts/desktop-e2e-20260902-174156-345/summary.md.e2e-artifacts/desktop-e2e-20260902-174305-616/summary.md.e2e-artifacts/desktop-e2e-20260902-174423-848/summary.md.e2e-artifacts/desktop-e2e-20260902-174448-752/summary.md.e2e-artifacts/desktop-e2e-20260902-174518-093/summary.md.e2e-artifacts/desktop-e2e-20260902-174556-904/summary.md.e2e-artifacts/desktop-e2e-20260902-175316-125/summary.md.e2e-artifacts/desktop-e2e-20260902-175427-109/summary.md.e2e-artifacts/desktop-e2e-20260902-175452-547/summary.md.e2e-artifacts/desktop-e2e-20260902-175517-896/summary.md.e2e-artifacts/desktop-e2e-20260902-175542-933/summary.md.e2e-artifacts/desktop-e2e-20260902-175610-538/summary.md.e2e-artifacts/desktop-e2e-20260902-175644-701/summary.md.e2e-artifacts/desktop-e2e-20260902-175717-490/summary.md.e2e-artifacts/desktop-e2e-20260902-175755-973/summary.md以上路径均相对于 MacBook Pro 运行目录。结束提交为本报告所在最终提交,以 git log 为准。