Conversation
|
Thanks for the focused shutdown-path fix. The premise remains present on current main: The proposed conditional grace matches the existing signal classification: only non-planned signals set No blocking defects identified in this read-only review. This is an automated hermes-sweeper review. |
|
Resolved the current-main conflict at
|
|
Resolved the new current-main conflict at
|
297a028 to
e384b6c
Compare
|
Refreshed onto exact current main Post-rebase verification is green: 29 focused signal/shutdown/restart tests and Ruff passed. A wider macOS run also exposed the unchanged current-main |
e384b6c to
987cb1f
Compare
|
Resolved the new current-main conflict at
|
SummaryThree PRs address or reference #64155. #65084 targets the gateway-level fixed post-interrupt delay before teardown, #64352 adds bounded WhatsApp bridge reaping after teardown begins, and #13270 covers Windows-specific bridge process-tree termination. Related pull requests
Suggested consolidationKeep #65084 open with a salvage path: retain its bounded unexpected-signal grace, typed configuration parsing, and focused shutdown regressions as the recorded best fix for the gateway-level cause, consistent with the automated keep_open verdict. Keep #64352 closed as a complementary but superseded partial approach rather than a duplicate, and retain merged #13270 only as the Windows process-tree cleanup reference. Complex graphflowchart LR
classDef open fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a
classDef merged fill:#dcfce7,stroke:#15803d,color:#14532d
classDef closed fill:#e5e7eb,stroke:#6b7280,color:#1f2937
classDef unverified fill:#f3f4f6,stroke:#9ca3af,color:#374151
classDef best stroke-width:3px,stroke:#b45309
classDef target stroke-width:3px,stroke:#4338ca
I64155(["issue #64155 (open)"])
P65084["PR #65084 (open)"]
P65084 -->|best fix| I64155
class I64155 open
class P65084 open
class P65084 best
class P65084 target
click I64155 "https://github.com/NousResearch/hermes-agent/issues/64155"
click P65084 "https://github.com/NousResearch/hermes-agent/pull/65084"
Graph: solid arrow = fixes / best fix, dashed arrow = partial or unverified (see edge label); boxed group = PRs duplicating each other; amber border = best fix; indigo border = target; gray node = closed (state tag in the node label). Cross-PR triage: Reviewed 3 pull requests and 1 issue in this complex. Each diff was read against this issue; Assessment working set: 27 kB of PR diffs, 9 kB of issue/PR text, 4 kB of discussion (6 comments), 3 verify verdicts. verdicts reflect diff content, not PR titles. Part of an automated triage batch. |
987cb1f to
a66976e
Compare
|
Resolved the current-main conflict at
|
a66976e to
d5c6178
Compare
|
Resolved the renewed current-main conflict in The single authored fix is replayed onto exact upstream Local verification on the pushed head: 157 tests passed across gateway shutdown, restart drain/after-turn/resume, API active-work drain, bounded adapter teardown, shutdown cache/flush, async session storage, and config; two Windows-only cases were skipped locally for their CI lane. Ruff, |
|
The current CI failure is an upstream-main baseline regression, not a failure in this PR's shutdown change.
I am keeping #65084 scoped rather than importing the unrelated baseline test repair. Once #83745 lands, this branch can be refreshed onto the corrected main to trigger replacement CI. |
|
CI classification for the replacement head This PR does not change that profile-routing contract. The focused upstream test correction is #83745, whose required CI is green. I am leaving this branch scoped to SIGTERM shutdown behavior rather than copying an unrelated test repair; once #83745 lands, rebasing/rerunning will clear this inherited failure. |
d5c6178 to
d52f2c6
Compare
|
Refreshed onto exact current
The SIGTERM-only grace behavior remains scoped from planned stop/restart handling, and GitHub reports the PR mergeable. |
d52f2c6 to
d68a958
Compare
|
Resolved the renewed current-main conflict at
|
d68a958 to
c2f49e0
Compare
|
Resolved the renewed current-main conflict at
|
c2f49e0 to
337d596
Compare
|
Resolved the renewed current-main conflict at
|
|
Resolved the renewed current-main conflict at
|
fix(gateway): bound SIGTERM post-interrupt grace
No blocking issues found. |
337d596 to
2a18a17
Compare
|
Resolved the renewed current-main conflict at
|
|
Replacement CI is fully green on |
|
Merged via salvage PR #99663 (commit 2213128 on main) — your commit was cherry-picked onto current main with your authorship preserved in git log. This covers the gateway half of #64155; the other half (the blocking MCP shutdown wait, #82874) is in flight as PR #99675. Thanks for the clean, well-tested fix and for keeping the branch rebased! |
Summary
gateway.signal_interrupt_grace_timeoutCurrent-main behavior
A stuck entry in
GatewayRunner._running_agentscan consume a fixed five seconds after the gateway has already decided to interrupt remaining work, delaying adapter teardown and contributing to systemd timeout kills. The signal-only grace is independently bounded; planned lifecycle paths retain their existing behavior.Sibling-path audit
Verification
main8b09a9df8476010a78e86d6c32254b4ac14a8c4fgit diff --check, public identity/privacy checks, gitleaks, and the existing-PR publish gate passedCurrent head:
2a18a1705a1711de109368148ecea3ffec16d809Closes #64155