fix(cli): replace stale doctor/restart command hints (#24485)

* fix(cli): replace stale doctor and restart hints

* fix: add changelog for CLI hint updates (#24485) (thanks @chilu18)

---------

Co-authored-by: Muhammed Mukhthar CM <mukhtharcm@gmail.com>
This commit is contained in:
Peter Machona
2026-02-24 09:19:59 +00:00
committed by GitHub
parent 1c228dc249
commit 097a6a83a0
6 changed files with 24 additions and 7 deletions

View File

@@ -126,6 +126,7 @@ describe("runDaemonRestart health checks", () => {
await expect(runDaemonRestart({ json: true })).rejects.toMatchObject({
message: "Gateway restart timed out after 60s waiting for health checks.",
hints: ["openclaw gateway status --deep", "openclaw doctor"],
});
expect(terminateStaleGatewayPids).not.toHaveBeenCalled();
expect(renderRestartDiagnostics).toHaveBeenCalledTimes(1);