# NousResearch/hermes-agent · Cron scheduler guard leak and lifecycle handling

## Open now

- Nothing open on GitHub.

These members address a bug where an unsuccessful create_execution call leaves a cron job permanently stuck in the running set, and introduce changes to prevent the resulting guard leak and improve scheduler lifecycle robustness.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #86682. Verify it addresses your case.
- **Recommended:** read PR #86682 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-86682`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #86482: cron scheduler: create_execution failure strands job in running set forever ('already running — skipping' every tick)

## Prior & competing PRs

- **#70638: fix(cron): make Trigger now execute immediately and safely**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/chat/sidebar/cron-jobs-section.tsx`, `apps/desktop/src/app/chat/sidebar/index.tsx`, `apps/desktop/src/app/contrib/wiring.tsx`, `apps/desktop/src/app/cron/cron-actions.test.ts`, `apps/desktop/src/app/cron/cron-actions.ts`, `apps/desktop/src/app/cron/index.tsx`, `apps/desktop/src/app/session/hooks/use-session-list-actions.ts`, `apps/desktop/src/hermes.test.ts`, `apps/desktop/src/hermes.ts`, `apps/desktop/src/store/cron.test.ts`, `apps/desktop/src/store/cron.ts`, `apps/shared/src/cron-trigger-controller.ts`, `apps/shared/src/index.ts`, `cron/executions.py`, `cron/jobs.py`, `cron/scheduler.py`, `cron/scheduler_provider.py`, `gateway/platforms/api_server.py`, `gateway/run.py`, `hermes_cli/web_routers/cron.py` (+25 more)
- **#86682: fix(cron): consolidate scheduler-lifecycle salvage — guard-leak tick continuation, failure alerts, DNS fallback, bounded cleanup, CLI background verdict**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `cron/scheduler.py`, `hermes_cli/cron.py`, `tests/cron/test_cleanup_timeout.py`, `tests/cron/test_parallel_pool.py`, `tests/cron/test_recurring_wedge_selfheal.py`, `tests/cron/test_run_one_job.py`, `tests/cron/test_scheduler.py`, `tests/hermes_cli/test_cron.py`, `website/docs/user-guide/features/cron.md`
- **#86582: fix: avoid cron guard leak on create_execution failure**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#86682`, `#70638`

## Fix status

- Merged to main in PR #86682 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-15`.
- Subsystem: `cron`
