Stabilize PR quality gate profile

This commit is contained in:
732642856
2026-06-24 13:55:42 +08:00
parent 494e387018
commit de22bd4e4c
3 changed files with 9 additions and 5 deletions
+3 -1
View File
@@ -291,4 +291,6 @@
- 完成完整 browser/release profile`python3 scripts/run_quality_gate.py --profile browser --frontend-click-timeout 240``python3 scripts/run_quality_gate.py --profile release --frontend-click-timeout 240` 均通过;release 覆盖 release hygiene、195+核心 pytest、runtime smoke、真实浏览器 all smoke、golden cases 与 Yoga 逻辑校验。
- 修复 release profile 暴露的 Yoga 逻辑校验 Bug`scripts/validate_logic_v2.py` 现在用 `extract_skill_rule_ids` 安全跳过算法级无 `rule_id` Yoga,并默认使用当前仓库路径,不再在 import 时把 `~/.workbuddy/.../scripts` 插入 `sys.path` 污染后续 `import prashna`
- 验证细节:新增 `test_yoga_logic_validation_tolerates_algorithmic_yogas_without_rule_id``test_yoga_logic_validation_import_does_not_shadow_project_modules` 先红灯后转绿;`validate_logic_v2.py` 输出 Precision 96.48%、Recall 93.99%、F1 95.22%,并写入当前仓库 `references/validation_logic_report.json`
- 云端同步检查:`git ls-remote https://github.com/732642856/yinduzhanxing.git` 可访问,远端 `codex/release-hygiene-ci` 仍在 `11bdee3...`;当前本地大量改动已暂存/修改但尚未 commit/push,下一步应提交并推送分支
- 云端同步完成:本地改动已提交为 `83cc859 Productize jyotish app release surface` 并推送到远端 `codex/release-hygiene-ci`GitHub API 确认现有 PR #6 处于 openhead 已更新到 `83cc859`
- 修复 PR CI 云端稳定性风险:`.github/workflows/ci.yml` 将质量门命令从默认 browser profile 改为 `python scripts/run_quality_gate.py --profile quick --skip-yoga-logic`,避免 GitHub Actions 在未安装 Playwright/真实浏览器依赖时误跑 browser click smoke;完整 browser/release profile 仍作为发布前本地/手动守门。
- 验证完成:`python3 -B -m pytest tests/test_frontend_productization.py::test_quality_gate_declares_fast_browser_release_profiles tests/test_frontend_productization.py::test_release_quality_gate_tracks_untracked_product_files -q` 通过;`.github/workflows/*.yml` 均可被 PyYAML 解析。