mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 20:05:46 -06:00
Merge pull request #115825 from openclaw/refactor/health-owner-boundary
refactor(gateway): own health snapshot collection
This commit is contained in:
@@ -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,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,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 =
|
||||
|
||||
Reference in New Issue
Block a user