Files
hermes-agent/tests/scripts
kshitijk4poor 3c23e52ae3 fix(desktop-update): add the gateway hint only when the follow-up blames gateways
posix.sh and windows.ps1 appended "Run hermes gateway restart" whenever
the gateway_restart step was owed. Since this PR, that step can be owed
for a serve/dashboard unit alone (a system hermes-dashboard the updater had
no root for), and the hint then sends the user to a command that never
touches that unit. Both hand-offs now drop the hint only when the owed
reason is serve/dashboard-only: it starts with "serve/dashboard" and does
not mention `hermes gateway restart`. Every other gateway_restart reason
keeps the hint, including the raw exception text update_finish owes when
the restart phase itself crashes and reasons from older CLIs. A
dashboard-only owed restart points to the update log, which names the
unit's own command. The step id and owed-step parsing are unchanged.

Fixes #141071
Refs #141021
2026-10-19 02:48:18 +05:30
..
2026-10-08 21:29:48 +02:00