AgentEvalTool/tests/integration
sinohqb 5de46d514a
All checks were successful
CI / test (push) Successful in 4m0s
fix(intelligent-eval): trigger worker/planner with isolated session
t480 排查:评估 cd636d71 一直'等待 OpenClaw 创建会话',scan loop 每 60s 触发
worker,但 worker 被触发后 0 次工具调用、直接幻觉输出'评估 pending_approval'
(实际 executing),任务永不认领。

根因:openclaw agent --agent main 复用 main 持久 session,多次触发累积上下文
缓存(~12 万 token)后 LLM 不再执行 worker skill 的 API 步骤。
验证:独立 --session-id 触发 worker → 正常取任务、建会话、close。

修复:worker/planner 触发命令加 --session-id(每次唯一 agenteval-worker-*/planner-*),
避免 main session 污染;timeout 300→600(独立 session 首次加载 skill 更慢)。
测试:触发断言含 --session-id,901 passed
2026-08-18 17:22:30 +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 worker/planner with isolated session 2026-08-18 17:22:30 +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