-
Notifications
You must be signed in to change notification settings - Fork 0
Build and Verify 检查数量断言阻断新增检查 #43
Copy link
Copy link
Open
Labels
P2Medium priority / non-blocking retained issueMedium priority / non-blocking retained issuebugSomething isn't workingSomething isn't workingready-for-agentReady for an implementation agentReady for an implementation agent
Description
Metadata
Metadata
Assignees
Labels
P2Medium priority / non-blocking retained issueMedium priority / non-blocking retained issuebugSomething isn't workingSomething isn't workingready-for-agentReady for an implementation agentReady for an implementation agent
问题
tests/test_skill_layout.py使用精确的len(checks)断言验证 Build and Verify(构建与验证)配置。新增verify.worktree-setup后,完整 CI(持续集成)因检查数量从 17 变为 18 而失败;把常量改成 18 只修复了本次症状,下次新增合法检查仍会再次阻断。证据
AssertionError: assert 18 == 17。tests/test_skill_layout.py::test_build_and_verify_covers_local_quant_research_without_local_data。建议解决方案
删除精确总数断言,改为验证必需检查 ID(标识)集合、ID 唯一性及确有语义要求的顺序。
验收标准
补充信息
优先级:P2 → P2(本次复盘确认 1 次,无动态调整)。