fix: land health-monitor disconnected reason label (#36436) (thanks @Sid-Qin)

This commit is contained in:
Peter Steinberger
2026-03-08 02:01:04 +00:00
parent 066d589b8a
commit 1e05f14f3a
2 changed files with 7 additions and 1 deletions

View File

@@ -335,6 +335,7 @@ Docs: https://docs.openclaw.ai
- Agents/parallel tool-call compatibility: honor `parallel_tool_calls` / `parallelToolCalls` extra params only for `openai-completions` and `openai-responses` payloads, preserve higher-precedence alias overrides across config and runtime layers, and ignore invalid non-boolean values so single-tool-call providers like NVIDIA-hosted Kimi stop failing on forced parallel tool-call payloads. (#37048) Thanks @vincentkoc.
- Config/invalid-load fail-closed: stop converting `INVALID_CONFIG` into an empty runtime config, keep valid settings available only through explicit best-effort diagnostic reads, and route read-only CLI diagnostics through that path so unknown keys no longer silently drop security-sensitive config. (#28140) Thanks @bobsahur-robot and @vincentkoc.
- Agents/codex-cli sandbox defaults: switch the built-in Codex backend from `read-only` to `workspace-write` so spawned coding runs can edit files out of the box. Landed from contributor PR #39336 by @0xtangping. Thanks @0xtangping.
- Gateway/health-monitor restart reason labeling: report `disconnected` instead of `stuck` for clean channel disconnect restarts, so operator logs distinguish socket drops from genuinely stuck channels. (#36436) Thanks @Sid-Qin.
## 2026.3.2

View File

@@ -36,7 +36,12 @@ export type ChannelHealthPolicy = {
channelConnectGraceMs: number;
};
export type ChannelRestartReason = "gave-up" | "stopped" | "stale-socket" | "stuck" | "disconnected";
export type ChannelRestartReason =
| "gave-up"
| "stopped"
| "stale-socket"
| "stuck"
| "disconnected";
function isManagedAccount(snapshot: ChannelHealthSnapshot): boolean {
return snapshot.enabled !== false && snapshot.configured !== false;