NousResearch/hermes-agent

Gateway restart task zombie process bug fixes

Cluster 12875 · gateway. Data as of

Nothing open on GitHub. Fix merged in #53572 on 27 Jun 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #53572. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #53572. That is separate from the fix event.
Still open
Nothing open on GitHub.

Multiple related fixes and a bug report addressing a specific issue where the /restart endpoint could leave a zombie process by incorrectly cancelling the _run_restart task during _stop_impl. The fixes focus on excluding _run_restart from background task cancellation.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #53572 fix(gateway): prevent /restart zombie — keep _run_restart out of _background_tasks (#12875)

    merged to main

    files: gateway/run.py, scripts/release.py, tests/gateway/test_restart_drain.py

2 PRs closed without merging

From the close comments: merged via another change 2

  • #12946 fix(gateway): prevent /restart zombie by excluding _restart_task from stop cancellation · merged via another change → #13173
  • #13173 fix(gateway): exclude _run_restart from _background_tasks to prevent zombie on /restart · merged via another change → 1ce5d6d, #53572
Closed issues · 1
  • Closed#12875[Bug]: /restart can leave zombie process — _stop_impl cancels the _run_restart background task mid-execution
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.50: the share of item 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.

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

At a glance

Subsystem
gateway
Merged PRs
#53572
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
27 Jun 2026

For your agent

The same facts, typed.