OG T
59902f270d
fix(tests): 首席架構師審查修復 - 測試套件 + DI 強化 (96/100 OUTSTANDING)
P1 測試修復:
- test_smart_router.py: 更新至當前 API (IntentResult + DIAGNOSE/CONFIG 規範化)
- test_auto_repair_service.py: 注入 _no_cooldown fixture 隔離 Redis 依賴
- test_global_repair_cooldown.py: 加 @pytest.mark.integration 標記
P2 架構改進:
- AutoRepairService: 新增 cooldown_checker DI 參數 (Callable | None)
- global_repair_cooldown: get_redis() 移入 try-except 防止未捕獲 RuntimeError
P3 配置:
- pyproject.toml: 登記 integration pytest marker
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 11:11:50 +08:00
..
2026-03-26 16:06:20 +08:00
2026-03-26 10:37:45 +08:00
2026-03-31 16:25:00 +08:00
2026-03-25 23:57:24 +08:00
2026-03-29 15:27:49 +08:00
2026-03-29 15:27:49 +08:00
2026-04-01 11:11:50 +08:00
2026-03-29 15:48:03 +08:00
2026-03-31 12:16:54 +08:00
2026-03-26 10:37:45 +08:00
2026-04-01 11:11:50 +08:00
2026-03-31 16:16:16 +08:00
2026-03-31 12:20:29 +08:00
2026-03-26 16:06:20 +08:00
2026-03-26 16:06:20 +08:00
2026-03-29 20:49:23 +08:00
2026-03-29 15:27:49 +08:00
2026-03-26 16:06:20 +08:00
2026-03-31 14:17:36 +08:00
2026-03-29 16:23:30 +08:00
2026-03-23 23:51:37 +08:00
2026-04-01 11:11:50 +08:00
2026-03-29 15:27:49 +08:00
2026-03-29 21:23:07 +08:00
2026-03-31 16:16:16 +08:00