Systemd unit missing SuccessExitStatus for planned restarts

NousResearch/hermes-agent · cluster 104251

Data as of

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

The short answer

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

These issues and PRs address a bug where the generated systemd unit does not declare exit code 75 as a success status, causing planned gateway restarts to incorrectly trigger OnFailure handlers. The fixes add SuccessExitStatus=75 to the generated unit.

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.

  • #104946 fix(cli): planned gateway restarts no longer trigger failure alerts (#104251, salvage #104272)

    merged to main

    files: hermes_cli/gateway.py, tests/hermes_cli/test_gateway_service.py

3 PRs closed without merging

From the close comments: done elsewhere 1 · duplicate 1 · merged via another change 1

  • #104272 fix(cli): declare the planned-restart exit code a systemd success status · merged via another change → 2d52ddc, #104946
  • #104655 fix(cli): add SuccessExitStatus=75 to generated systemd unit (#104251) · duplicate → #104272, #104251
  • #104854 fix(gateway): mark exit 75 as success in the generated systemd unit · done elsewhere → #104946
Closed issues · 1
  • Closed#104251Bug: generated systemd unit lacks SuccessExitStatus=75, so every planned restart fires OnFailure=
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.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

Merged PRs
#104946
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
7 Sep 2026

For your agent

The same facts, typed.