|
All checks were successful
CI / test (push) Successful in 3m56s
AlertManager gains an optional openclaw_client. check_alerts records each newly created alert and AlertManager.maybe_autoscale (called from the async router for each alert) invokes cron_pool.scale_up(1). scale_up itself caps at MAX_POOL_SIZE so repeated invocations are safe. Removed the xfail guard in test_alert_autoscale_link; rewrote the test to use task_backlog (duration_minutes=0) so a single check_alerts call fires an alert and triggers auto-scale. |
||
|---|---|---|
| .. | ||
| __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 | ||