AgentEvalTool/tests/integration
sinohqb 56d709c44f
All checks were successful
CI / test (push) Successful in 3m59s
fix(intelligent-eval): reject report until all sessions closed
t480 实测:评估 completed 但 completed_sessions=0(进度 0%)。根因
(diagnosing-bugs):submit_report 无条件 CAS executing→completed,不看会话
状态——worker 建会话未 close 时,analyst 仍可提交报告把评估标完成。

- lifecycle.submit_report 加校验:存在会话时须全部 close(completed),
  否则抛 IntelligentEvalTransitionError(409)——杜绝'评估完成但进度 0%'
- 无会话的评估仍可直接提交(analyst 正常路径不变)
回归测试(诊断闭环 Phase 1 反馈环先红后绿):
- +test_submit_report_rejects_when_sessions_not_closed(running 会话→409)
- +test_submit_report_allows_when_sessions_closed(全 close→200)
900 passed
2026-08-18 15:30:51 +08:00
..
__init__.py v0.2.0-dev: 文件管理 + 页面布局统一 + 6 个 bug 修复 2026-07-16 15:25:22 +08:00
test_alert_autoscale_link.py fix(intelligent-eval): link check_alerts to auto-scale_up (resolves T7) 2026-08-14 15:08:24 +08:00
test_auth_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_campaign_analysis_api.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_analysis_auto_trigger.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_comparison_api.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_comparison_auto_trigger.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_runner.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaign_scheduler_loop.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_campaigns_api.py feat(intelligent-eval): implement monitoring and alerting (ticket 07) 2026-08-12 10:41:15 +08:00
test_config_snapshot_api.py feat(intelligent-eval): implement config snapshot management (ticket 05) 2026-08-12 10:19:07 +08:00
test_cron_pool_api.py feat(intelligent-eval): implement cron pool management (ticket 02) 2026-08-12 09:47:04 +08:00
test_decision_log_immutability.py fix(decision-logs): dedupe on (eval_id, decision_type, context) (resolves T8) 2026-08-14 15:14:05 +08:00
test_exploration_api.py feat(intelligent-eval): implement monitoring and alerting (ticket 07) 2026-08-12 10:41:15 +08:00
test_exploration_patrol_api.py feat(intelligent-eval): implement monitoring and alerting (ticket 07) 2026-08-12 10:41:15 +08:00
test_exploration_settlement.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_fault_tolerance_e2e.py feat(intelligent-eval): implement fault tolerance and recovery (ticket 06) 2026-08-12 10:30:05 +08:00
test_files_api.py feat(files): improve category and location layout 2026-07-17 18:13:43 +08:00
test_intelligent_eval_e2e.py feat(intelligent-eval): implement decision logic and e2e flow (ticket 04) 2026-08-12 10:10:42 +08:00
test_intelligent_eval_scan_scheduler.py fix(intelligent-eval): trigger OpenClaw planner for planning evals 2026-08-18 11:30:02 +08:00
test_intelligent_eval_task_queue_api.py feat(intelligent-eval): paginate the eval list 2026-08-17 14:09:17 +08:00
test_intelligent_evals_api.py fix(intelligent-eval): reject report until all sessions closed 2026-08-18 15:30:51 +08:00
test_metrics_alerts_api.py feat(intelligent-eval): implement monitoring and alerting (ticket 07) 2026-08-12 10:41:15 +08:00
test_migration_roundtrip.py refactor(architecture): deepen campaign runtime modules 2026-08-11 13:18:48 +08:00
test_model_config_migration.py feat(models): add centralized model configuration 2026-07-17 20:02:43 +08:00
test_model_configs_api.py feat(models): add analysis-default flag for campaign intelligence 2026-08-03 01:46:51 +08:00
test_reports_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_router_orm_guards.py test(intelligent-eval): add #6 frontend + router contract + immutability + alert-autoscale link tests 2026-08-13 04:03:17 +08:00
test_runs_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_scenario_version_migration.py feat(run): snapshot scenario version at run creation (ticket 04) 2026-07-29 10:59:44 +08:00
test_scenarios_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_stats_api.py style(tests): ruff 全量清理 — 49 项修复,backend 与 tests 全绿 2026-08-03 15:13:24 +08:00
test_worker_skill_api.py feat(intelligent-eval): implement worker skill and APIs (ticket 03) 2026-08-12 10:01:56 +08:00
test_worker_task_resilience.py fix(intelligent-eval): atomic CAS in assign_task and complete_task (resolves §6.1) 2026-08-14 14:52:34 +08:00