Merge pull request #115825 from openclaw/refactor/health-owner-boundary

refactor(gateway): own health snapshot collection
This commit is contained in:
Vincent Koc
2026-07-29 22:00:59 +08:00
28 changed files with 812 additions and 685 deletions
+1 -1
View File
@@ -2,9 +2,9 @@ import {
normalizeLowercaseStringOrEmpty,
normalizeOptionalString,
} from "@openclaw/normalization-core/string-coerce";
import type { PluginHealthErrorSummary } from "../../commands/health.types.js";
import { createConfigIO } from "../../config/io.js";
import type { OpenClawConfig } from "../../config/types.openclaw.js";
import type { PluginHealthErrorSummary } from "../../gateway/health/types.js";
import { resolveGatewayProbeAuthSafeWithSecretInputs } from "../../gateway/probe-auth.js";
import { probeGateway } from "../../gateway/probe.js";
import { inspectPortUsage, type PortUsage } from "../../infra/ports.js";
+1 -1
View File
@@ -1,8 +1,8 @@
// Restart health probes for gateway service restarts and port listener recovery.
import { normalizeOptionalString } from "@openclaw/normalization-core/string-coerce";
import type { PluginHealthErrorSummary } from "../../commands/health.types.js";
import type { GatewayServiceRuntime } from "../../daemon/service-runtime.js";
import type { GatewayService } from "../../daemon/service.js";
import type { PluginHealthErrorSummary } from "../../gateway/health/types.js";
import { classifyPortListener, inspectPortUsage, type PortUsage } from "../../infra/ports.js";
import {
hasActiveStartupMigrationLease,
+1 -1
View File
@@ -1,5 +1,5 @@
import type { PluginHealthErrorSummary } from "../../commands/health.types.js";
import type { GatewayServiceRuntime } from "../../daemon/service-runtime.js";
import type { PluginHealthErrorSummary } from "../../gateway/health/types.js";
import type { PortUsage } from "../../infra/ports.js";
export type GatewayRestartWaitOutcome =