Files
hermes-agent/cron
kshitijk4poor 0bf6eb4fc5 refactor(cron): extract the tick's lock and advance degradation into helpers
The read-only tick-lock fallback (85f06c4777) pushed _tick_admitted to CC 22 against the
code-health target of 20 (was 17 on main). Move the lock-or-degrade step and the
advance-or-drop-recurring step into _acquire_tick_lock_or_degrade and
_advance_or_drop_recurring, with a small _is_recurring predicate. Behaviour is unchanged:
the cron, monitoring and cron CLI suites pass as-is, and the read-only-lock test still
fails with the errno filter removed.
2026-10-07 10:20:18 +05:30
..