fix(cron): ensure ticker thread starts and monitor for death (#342) #345
Reference in New Issue
Block a user
Delete Branch "fix/cron-ticker-startup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #342
Root Cause
Cron ticker thread in gateway dies silently without restart.
asyncio.get_running_loop()can raise RuntimeError in edge cases. No monitoring to detect ticker death.Fix
get_running_loop()in try/except with None fallbacklogger.infowhen ticker starts (with PID and thread name)Acceptance Criteria Met
hermes cron tickno longer requiredEvidence