|
All checks were successful
CI / test (push) Successful in 3m45s
方案③ worker 由平台触发 openclaw agent(cron=manual-run,非真实 cron), fault_tolerance 的 stuck 检测不适用——agent 中断/失败时任务永久卡 assigned, scan 只查 pending 不再入队(死锁)。 requeue_stale_assigned_tasks:assigned 超过 10 分钟且评估仍 executing 的 任务重置为 pending(清空认领),平台 scan 循环随后重新触发 worker 重试。 接入 scan loop,每轮先 requeue 再 scan。 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| alerts.py | ||
| config_snapshot.py | ||
| cron_pool.py | ||
| decision_logs.py | ||
| decision.py | ||
| domain.py | ||
| fault_tolerance.py | ||
| lifecycle.py | ||
| metrics.py | ||
| models.py | ||
| openclaw_client.py | ||
| read_model.py | ||
| report.py | ||
| repository.py | ||
| task_queue.py | ||