Bounded graceful shutdown timeout for SIGTERM handling

NousResearch/hermes-agent · cluster 76244 · dashboard

Data as of

Nothing open on GitHub. Fix merged in #128336. Check it covers your case.

The short answer

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

These issues and pull requests address a problem where the serve backend process hangs or becomes orphaned when receiving SIGTERM, due to an unbounded graceful shutdown in uvicorn. The proposed fix adds a timeout to the graceful shutdown path so a single SIGTERM can reliably terminate the backend.

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.

  • #128336 fix(cli): bounded graceful shutdown ends a SIGTERM-orphaned serve backend (#76244)

    merged to main

    files: hermes_cli/web_server.py, tests/hermes_cli/test_web_server_ws_ping.py

4 PRs closed without merging

From the close comments: merged via another change 1 · partial fix 1 · superseded by another PR 1 · other 1

  • #58028 fix(dashboard): bound graceful shutdown · other → 40e4af4, #128336, #76244
  • #76265 fix(cli/web_server): add bounded graceful-shutdown timeout to prevent SIGTERM orphans · partial fix → 4cbb68d, #76244, #76265, #1, #15803, #14532, #6, #9, #374151, #4338
  • #105319 fix(cli): bound serve graceful shutdown so a single SIGTERM can't orphan the backend · merged via another change → #128336
  • #127953 hermes serve exits within ~3 s of one SIGTERM instead of hanging on an in-flight request (#76244, salvage #105319) · superseded by another PR → 40e4af4, #128336, #105319
Closed issues · 1
  • Closed#76244hermes serve: backend hangs on SIGTERM, orphans on desktop quit (unbounded uvicorn graceful shutdown)
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.33: 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
dashboard
Merged PRs
#128336
Closed issues
1
Attempts
4 PRs closed without merging
Fix link checked
29 Sep 2026

For your agent

The same facts, typed.