AgentEvalTool/.scratch/intelligent-eval-cron-pool/issues/10-cron-pool-monitoring-page.md
sinohqb 1aa453ef0a feat(intelligent-eval): add cron pool data model and task queue API
Implement Ticket 01 of intelligent eval cron pool architecture (ADR-0007):

- Add 4 new tables: task_queue, cron_pool, config_snapshots, decision_logs
- Implement task enqueueing logic with priority calculation
- Implement task assignment and completion APIs
- Add unit tests (9) and integration tests (7)
- Update CONTEXT.md with new vocabulary
- Add ADR-0007 documenting cron pool architecture decision

All 760 tests passing.
2026-08-12 02:13:21 +08:00

20 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 10 — Cron 池监控页面(前端)
**What to build:** 创建独立的「Cron 池监控」页面显示池状态、任务队列、cron 列表、任务历史。
**Blocked by:** 07 — 监控和告警
**Status:** ready-for-agent
- [ ] 创建「Cron 池监控」页面(独立页面,不在评估详情页)
- [ ] 实现池状态卡片total/idle/busy/stuck
- [ ] 实现任务队列列表pending/assigned/completed支持筛选
- [ ] 实现 cron 列表ID、状态、当前任务、最后活跃时间、完成任务数
- [ ] 实现任务历史列表(完成时间、成功率、平均处理时间)
- [ ] 实现告警历史列表(时间、级别、消息)
- [ ] 实现实时刷新(每 5 秒轮询)
- [ ] 实现手动扩缩容按钮(调用 `POST /api/openclaw/cron-pool/scale`
- [ ] 前端类型检查(`tsc --noEmit`
- [ ] 端到端测试:在 UI 上实时看到池状态和任务执行情况
- [ ] **可演示**:在 UI 上实时看到池状态和任务执行情况,可以手动扩缩容