R28-1 R28-4: 收口网页门禁与公网 smoke

这个提交包含在:
2026-03-23 09:59:54 +08:00
父节点 7e183c0cdc
当前提交 c17a72830c
共修改 10 个文件,包含 456 行新增和 63 行删除
@@ -0,0 +1,7 @@
ID,Title,Description,Acceptance,Test_Method,Tools,Dev_Status,Review1_Status,Regression_Status,Files,Dependencies,Notes
R28-0,执行合同建档与范围冻结,为网页自动化测试分层与公网 smoke 建立执行合同并冻结本轮范围,Issue CSV 校验通过 且范围锁定为本地 smoke 全量 E2E 公网 smoke CI 与文档,python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-03-22_21-28-38-r28-web-automation-gates.csv,manual,DONE,DONE,DONE,issues/2026-03-22_21-28-38-r28-web-automation-gates.csv,[],none
R28-1,本地 smoke 与 full 测试入口,新增本地 smoke full 两层 Playwright 运行模式与脚本入口,client 支持 test:e2e:smoke test:e2e:full 且 scripts/qa/run-web-gates.sh 可稳定执行 smoke-local full-local,cd client && npm run typecheck && bash scripts/qa/run-web-gates.sh smoke-local,manual,DONE,DONE,DONE,client/package.json|client/playwright.config.ts|scripts/qa/run-web-gates.sh,"[""R28-0""]",固定使用本地临时库与显式 env 启动 server
R28-2,公网 live smoke 用例与 helper,新增只读公网 smoke spec 与 live 登录 helper/断言 helper,client 支持 test:e2e:live 且 live-smoke 仅执行只读检查并校验 wecom config 状态,cd client && E2E_MODE=live npm run test:e2e:live,manual,DONE,DONE,DONE,client/tests/e2e/live-smoke.spec.ts|client/tests/e2e/helpers/liveAuth.ts|client/tests/e2e/helpers/smokeAssertions.ts,"[""R28-1""]",默认依赖 LIVE_SMOKE_* 环境变量和 smoke 账号
R28-3,CI 分层与定时巡检接入,调整现有 ci-e2e 并新增 ci-live-smoke 让 PR 夜间与公网 smoke 分层运行,PR 跑 smoke 主分支和夜间跑 full 且新增 ci-live-smoke 支持 workflow_dispatch 与 schedule,.github/workflows/ci-e2e.yml + .github/workflows/ci-live-smoke.yml 静态审阅 + git diff --check,manual,DONE,DONE,DONE,.github/workflows/ci-e2e.yml|.github/workflows/ci-live-smoke.yml,"[""R28-1"",""R28-2""]",沿用现有 ci-regression 不推翻结构
R28-4,部署与试点文档补强,把网页自动化门禁和 live smoke 步骤写入 trialrun 手册与 checklist,发布前后和试点检查单中可按文档执行 smoke-local full-local smoke-live,git diff --check,manual,DONE,DONE,DONE,deploy/trialrun/checklist.md|deploy/trialrun/runbook.md|docs/admin-handbook.md,"[""R28-1"",""R28-2"",""R28-3""]",文档需明确公网 smoke 禁止写操作
R28-5,回归验证与收口,执行本地 smoke 本地 full 与必要静态检查并完成 git 提交,本地 smoke full typecheck build 通过 且 issue 状态同步完成,bash scripts/qa/run-web-gates.sh smoke-local && bash scripts/qa/run-web-gates.sh full-local && cd client && npm run build,manual,DONE,DONE,DONE,issues/2026-03-22_21-28-38-r28-web-automation-gates.csv|scripts/qa/run-web-gates.sh,"[""R28-3"",""R28-4""]",live smoke 因依赖真实 smoke 账号 默认仅提供可执行入口与 workflow
1 ID Title Description Acceptance Test_Method Tools Dev_Status Review1_Status Regression_Status Files Dependencies Notes
2 R28-0 执行合同建档与范围冻结 为网页自动化测试分层与公网 smoke 建立执行合同并冻结本轮范围 Issue CSV 校验通过 且范围锁定为本地 smoke 全量 E2E 公网 smoke CI 与文档 python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-03-22_21-28-38-r28-web-automation-gates.csv manual DONE DONE DONE issues/2026-03-22_21-28-38-r28-web-automation-gates.csv [] none
3 R28-1 本地 smoke 与 full 测试入口 新增本地 smoke full 两层 Playwright 运行模式与脚本入口 client 支持 test:e2e:smoke test:e2e:full 且 scripts/qa/run-web-gates.sh 可稳定执行 smoke-local full-local cd client && npm run typecheck && bash scripts/qa/run-web-gates.sh smoke-local manual DONE DONE DONE client/package.json|client/playwright.config.ts|scripts/qa/run-web-gates.sh ["R28-0"] 固定使用本地临时库与显式 env 启动 server
4 R28-2 公网 live smoke 用例与 helper 新增只读公网 smoke spec 与 live 登录 helper/断言 helper client 支持 test:e2e:live 且 live-smoke 仅执行只读检查并校验 wecom config 状态 cd client && E2E_MODE=live npm run test:e2e:live manual DONE DONE DONE client/tests/e2e/live-smoke.spec.ts|client/tests/e2e/helpers/liveAuth.ts|client/tests/e2e/helpers/smokeAssertions.ts ["R28-1"] 默认依赖 LIVE_SMOKE_* 环境变量和 smoke 账号
5 R28-3 CI 分层与定时巡检接入 调整现有 ci-e2e 并新增 ci-live-smoke 让 PR 夜间与公网 smoke 分层运行 PR 跑 smoke 主分支和夜间跑 full 且新增 ci-live-smoke 支持 workflow_dispatch 与 schedule .github/workflows/ci-e2e.yml + .github/workflows/ci-live-smoke.yml 静态审阅 + git diff --check manual DONE DONE DONE .github/workflows/ci-e2e.yml|.github/workflows/ci-live-smoke.yml ["R28-1","R28-2"] 沿用现有 ci-regression 不推翻结构
6 R28-4 部署与试点文档补强 把网页自动化门禁和 live smoke 步骤写入 trialrun 手册与 checklist 发布前后和试点检查单中可按文档执行 smoke-local full-local smoke-live git diff --check manual DONE DONE DONE deploy/trialrun/checklist.md|deploy/trialrun/runbook.md|docs/admin-handbook.md ["R28-1","R28-2","R28-3"] 文档需明确公网 smoke 禁止写操作
7 R28-5 回归验证与收口 执行本地 smoke 本地 full 与必要静态检查并完成 git 提交 本地 smoke full typecheck build 通过 且 issue 状态同步完成 bash scripts/qa/run-web-gates.sh smoke-local && bash scripts/qa/run-web-gates.sh full-local && cd client && npm run build manual DONE DONE DONE issues/2026-03-22_21-28-38-r28-web-automation-gates.csv|scripts/qa/run-web-gates.sh ["R28-3","R28-4"] live smoke 因依赖真实 smoke 账号 默认仅提供可执行入口与 workflow