Skip to content

test: GAP-7 Inspector 测试欠账收口 + ON-5 五屏空态 golden 入 CI#198

Merged
KerroKapple merged 7 commits into
mainfrom
test/gap7-on5-quality-gate
Jul 17, 2026
Merged

test: GAP-7 Inspector 测试欠账收口 + ON-5 五屏空态 golden 入 CI#198
KerroKapple merged 7 commits into
mainfrom
test/gap7-on5-quality-gate

Conversation

@KerroKapple

@KerroKapple KerroKapple commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

上线前必做清单(MASTERPLAN 第 10 条)收尾两卡:

GAP-7(债表「M2 Inspector 区 widget 级测试」行收口)

  • 预设点选应用:点 chip → prompt 字段填入 + type_config.prompt/negative_prompt 落库断言(negative 在 caps 不支持时不渲染字段但仍须落库——恰是易碎点)
  • 成本文案:perCall 0.01 → Est. cost $0.01 精确断言(cost 行缺失/算错即红)
  • 按债行原话「仿同文件参考图区/角色区测试模式」——直接扩展既有 fixture

ON-5 五屏空态 golden

  • Studio empty / Studio error / Canvas empty / Gallery empty / Settings 全屏基线(1280×800,dark)入 CI 防回归
  • 确定性设计:Settings 的 DB 路径文案钉死 systemTemp/inkframe_golden_root(CI ubuntu 恒 /tmp)、备份列表空 fake、ffmpeg/secure storage fake
  • 基线由 update-goldens workflow 在 canonical ubuntu 铸造提交(本分支 91fcd27);本地曾 --update-goldens 验证五场景可渲染,Windows 产物未提交
  • _goldensPresent skip 守卫沿用 node_card 模式;CI golden job glob test/**/*_golden_test.dart 自动覆盖

Test plan

  • GAP-7 两测绿(同文件 8/8)
  • golden 本地正确 skip;ubuntu 铸线成功
  • analyze 0 issues;全套 1695 通过(本地 --exclude-tags golden)

🤖 Generated with Claude Code

Kerro and others added 4 commits July 18, 2026 01:16
GAP-7:预设点选应用(字段填入+type_config 落库含 negative)+ 成本文案精确断言
(perCall $0.01)——债行「仿同文件模式」收口。
ON-5:Studio empty/error、Canvas empty、Gallery empty、Settings 五屏 golden
入 CI;Settings 的 DB 路径钉死 systemTemp 固定根+备份列表空 fake 保确定性;
基线待 update-goldens workflow 在 ubuntu 铸造(本地已 --update-goldens 验证
五场景可渲染,产物未提交)。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
P1:撤「上线前必做清单全部收官」不实宣称——GAP-1 整卡未做、GAP-3 余量在案,
BOARD/MASTERPLAN 改为第 10 条收官+余量明示。
P2:Studio 两屏 golden 显式注入 FakeSecureStorage(黄条来源确定,不再依赖
插件缺失异常;像素不变);Settings 补 packageInfo 钉死。
P3 记债:sentinel 单点(评审方案会误伤增量铸线,附反例)/batch 乘法断言/双 pin 同步。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@KerroKapple

Copy link
Copy Markdown
Owner Author

对抗评审结论 BLOCK(1×P1) 已处理:

  • P1-1 已修:撤回「上线前必做清单 1-10 全部收官」——评审逐条核对属实:GAP-1(设置页 Custom Provider 编辑 UI,L)整卡未做、GAP-3 余量(InkAsyncSlot 共享件+残站点)债表在案。BOARD/MASTERPLAN 改为「第 10 条收官 + 余量明示」。这个仓库把状态漂移当独立缺陷类根治过(ce2118c 回填 10 处),这条 P1 抓得完全正确。
  • P2-1 已修:Studio empty/error 两场景显式注入 FakeSecureStorage——「未配 key」黄条保留在空态基线里(拍板:陌生用户空态确实带这条黄条,是真实首启画面)但来源改为确定注入,不再依赖测试环境 MissingPluginException;像素不变,由本轮 CI golden 终审。Settings 场景顺手钉死 packageInfoProvider(折叠线下不进像素,消隐式依赖)。
  • P3-1 记债(附反例):评审提的 skipped>0 && baselines>0 → fail 守卫会误伤增量铸线 bootstrap——本 PR 自身流程就是反例(新 5 测 skip 时 node_card 3 基线已在,该守卫会在铸线前把 CI 打红)。sentinel 单点问题真实,方案需再设计,BOARD 债表在案。
  • P3-2/P3-3 记债:batch 乘法断言、FLUTTER_VERSION 双 pin 同步升级备忘。

复验:analyze 0;全套 1695 绿;五场景 --update-goldens 本地可渲染,ubuntu 基线未动。

github-actions Bot and others added 3 commits July 17, 2026 15:40
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@KerroKapple
KerroKapple merged commit 4ec54dc into main Jul 17, 2026
5 checks passed
@KerroKapple
KerroKapple deleted the test/gap7-on5-quality-gate branch July 17, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant