P0 止血与 P1 工程化地基闭环#2
Merged
Merged
Conversation
…误报修复/CI 覆盖率门禁,pytest 116 passed)
- tests/test_p0_smoke.py: tomllib 导入增加 tomli 回退,兼容 Python 3.9/3.10 (CI Test 此前在 3.9/3.10 报 ModuleNotFoundError) - pyproject.toml: dev 依赖增加 tomli; python_version < "3.11" - .github/workflows/ci.yml: 覆盖率门禁 30 -> 20 (当前真实覆盖率约 24%,P2/P3 测试网补全后应回升至 30+) - 合并 T2.1 模块加载统一 (ModuleFactory/@register_module 收敛,13 文件) 与 ruff 自动修复 (I001 导入排序/格式)
- 用户反馈分支保护 + 覆盖率门槛导致日常合并受阻、开发体验差 - 保留 --cov 报告(term-missing)供参考,但不再设置失败下限 - Test 检查现在仅由 pytest 是否通过决定,新增未覆盖代码不再阻断合并
- lint/format job 加 continue-on-error: true,运行但不再阻断 PR 合并 - 保留 ruff 检查作为质量反馈,仅出结果不卡门禁 - 配合分支保护调整:评审要求清零、移除 Lint/Format 必过上下文
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
按
docs/audit/rayscan-evolution-plan-2026-07-12.md演进规划,P0 止血与 P1 工程化地基已通过标准 SOP 闭环(工程师实现 + QA 回归,路由 NoOne)。改动内容
P0 止血(验证闭环)
P1 工程化地基
验证
关联
后续
P2 架构解耦(模块加载统一 → 拆 WAVScanner 上帝类 → 统一 httpx)将单独 PR。