health: gateway-only status and stable reconnect

This commit is contained in:
Peter Steinberger
2025-12-10 16:47:38 +00:00
parent 6c005b3d35
commit e9fd73141d
3 changed files with 12 additions and 21 deletions

View File

@@ -183,12 +183,8 @@ export async function healthCommand(
method: "health",
timeoutMs: opts.timeoutMs,
});
const fatal =
!summary.web.linked ||
(summary.web.connect && !summary.web.connect.ok) ||
(summary.telegram.configured &&
summary.telegram.probe &&
!summary.telegram.probe.ok);
// Gateway reachability defines success; provider issues are reported but not fatal here.
const fatal = false;
if (opts.json) {
runtime.log(JSON.stringify(summary, null, 2));