forked from wangziqi/gongxue-base
docs: align web launch checks and postgres tuning
This commit is contained in:
@@ -10,8 +10,10 @@ const scannedDocs = [
|
||||
'docs/refactor/backend-handoff-roadmap.md',
|
||||
'docs/refactor/legacy-feature-gap-matrix.md',
|
||||
'docs/refactor/next-development-todo.md',
|
||||
'docs/refactor/taro-h5-deployment.md',
|
||||
'docs/refactor/taro-frontend-integration.md',
|
||||
'docs/refactor/taro-production-integration-checklist.md',
|
||||
'docs/refactor/web-launch-acceptance-checklist.md',
|
||||
];
|
||||
|
||||
function readLines(relativePath) {
|
||||
@@ -53,6 +55,13 @@ for (const item of lines) {
|
||||
if (/前端消息中心/.test(text) && hasAny(text, [/仍缺/, /待补/, /未完成/, /缺/])) {
|
||||
failures.push(`${item.file}:${item.line} 学生前端消息中心已经完成第一版,不能继续写成待补:${text}`);
|
||||
}
|
||||
|
||||
if (
|
||||
/smoke:taro:h5:interaction/.test(text) &&
|
||||
hasAny(text, [/26 项/, /租户后台六个主模块/, /平台后台四个主模块/, /租户题库内容\/财务、平台租户\/账务中心/])
|
||||
) {
|
||||
failures.push(`${item.file}:${item.line} H5 交互烟测已经覆盖 32 项和后台真实写操作,不能回退到旧描述:${text}`);
|
||||
}
|
||||
}
|
||||
|
||||
assert.deepEqual(failures, [], `Product scope guardrails failed:\n${failures.join('\n')}`);
|
||||
|
||||
Reference in New Issue
Block a user