Files
yingqing/core/qa/function-audit
zycandClaude Fable 5 216a711291 后端生成闸+多项修复;前端全站更新;QA 审计与报告
后端:
- 新增 celery_health 生成前置闸——无 worker 在线时图片/视频生成入口
  一律 503,防"提交到 ARK 后无人轮询、结果悬空+额度冻结"的数据丢失
- 拼接导出:帧率跟随源众数、字幕逐句重映射、原声/BGM 混音修复
- 资金核算审计脚本 + genesis 账目回填 + 滞留预留清理命令
- 接入 yunqi provider 与豆包 TTS 模型(catalog/migrations/bootstrap 命令)

前端:全站页面更新(pipeline/library/products/projects/team/account 等),
新增共享 pager 分页组件

QA:刷新 function-audit 全量输出,新增 full-qa 报告
文档:BP 产品介绍资料、design/CLAUDE.md

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-15 10:06:15 +08:00
..

Function Audit · 逐页功能审计

visual-parity像素,这里比行为:把每个页面在真实 React 路由里打开, 逐个真实点击所有可交互元素,报出「点了没反应」的死交互(假按钮)。

完整说明见 skill:.claude/skills/page-function-audit/SKILL.md

快速开始

# 0. 先起前后端(见 skill)。后端必须 .venv/bin/python。
# 1. 装依赖(复用 visual-parity 的 playwright)
cd AirShelf/core/qa/function-audit && npm install
# 2. 跑
node audit.mjs                  # 全量(最准,慢)
node audit.mjs --only account   # 单页(改完复验)
node audit.mjs --mode quick     # 粗扫(快)
# 3. 读报告
open output/summary.md          # 全页一览,看 dead 列
open output/<page>.audit.md     # 单页 DEAD 表

判定口径

  • works — 点了有反应(URL/浮层/自身状态/网络/DOM 五路任一变)
  • dead — 点了五路全无反应 → 真缺陷,优先修(多半没接 onClick)
  • 🛑 error — 点击抛 JS 异常
  • ◷ noop-active — 点的是已选中 tab/chip,本该无反应,忽略
  • ⏭ skipped — 破坏性按钮(删除/充值/生成…)不自动点,人工验
  • 🔍 missing — 设计稿 /exact 有、React 没渲染(启发式,人工过)

参数

参数 默认 说明
--mode isolated isolated=逐元素 reload(准);quick=不 reload(快)
--only (全部) 逗号分隔页名子串,如 --only account,pipeline
--include-pointer off 额外把 cursor:pointer 的 div 当候选
--headed off 看着浏览器跑
--settle 700 点击后观察窗口 ms
--token / --email / --password 演示账号 登录态来源
--base http://127.0.0.1:5173 前端地址