|
Some checks failed
CI / test (push) Has been cancelled
Replace read-check-write in task_queue.assign_task with UPDATE...WHERE status='pending' and decide on rowcount so two concurrent workers cannot both claim the same task. Also harden complete_task with the same CAS pattern (status='assigned') so a worker + stuck-handler double-complete leaves the DB in one state. The xfail guard in test_worker_task_resilience now passes (4/4). |
||
|---|---|---|
| .. | ||
| __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 | ||