[codex] send health metrics on wall-clock cadence#1695
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This PR targeted I retargeted it to |
|




Summary
Why
Rally Testnet hit
NOT REPORTINGalerts while/healthwas reachable. The health loop was taking 15-20s under load, but metrics reporting was tied to loop count (6 * loop) instead of elapsed time. That can stretch the intended one-minute reporting cadence past the external stale threshold.This keeps health reporting cadence stable even when individual health checks are slow.
Validation
/Users/edgars/Dev/genlayer-studio/.venv/bin/python -m pytest tests/unit/test_rpc_health_genvm_tracking.py