Cron stale-code ticker and gateway restart bugs
NousResearch/hermes-agent · cluster 117275
Data as of
Nothing open on GitHub. Fix merged in #117501. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #117501. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #117501. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and fixes concern a cron ticker incorrectly treating stale-code yields as dispatch outages, and related problems with gateway restart detection and fleet-restart warning persistence. Multiple adjacent but distinct bugs share a common root area around stale gateway handling and cron scheduling behavior.
Open issues0
Open PRs0
Fixes on record
-
#117501 fix(update): stale-code cron yield reads as an outage and hermes update restarts proven-stale gateways (#117275)
files:
cron/scheduler.py,hermes_cli/cron.py,hermes_cli/update_cmd_fleet.py,hermes_cli/update_cmd_stale_survivors.py,tests/hermes_cli/test_update_stale_gateway_yield.py,website/docs/developer-guide/cron-internals.md -
#117679 fix(cron): stale-code ticker keeps dispatching when the lock holder is not a fresh gateway (#117275, salvage #117287)
files:
cron/scheduler.py,gateway/code_skew.py,tests/cron/test_cron_tick_stale_yield.py,website/docs/developer-guide/cron-internals.md -
#117748 Fleet-restart warning no longer sticks forever on a serve backend, and macOS reports a gateway restarted only when its PID changed (#117275)
files:
hermes_cli/gateway.py,hermes_cli/update_abort_recovery.py,hermes_cli/update_cmd_fleet.py,tests/hermes_cli/test_update_fleet_restart_pending.py,tests/hermes_cli/test_update_launchd_restart_verification.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#117287 fix(cron): keep schedules dispatching when the gateway holder is stale · merged via another change →
95b1f4c,#117679,#117275,#117501,#117748
Closed issues · 1
- Closed#117275[Bug]: hermes update never restarts the running gateway — cron ticker yields every tick as 'stale code' for hours, `cron status` stays green during a total dispatch outage
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the Lab