Skip to content

Commit 1e05f14

Browse files
committed
fix: land health-monitor disconnected reason label (openclaw#36436) (thanks @Sid-Qin)
1 parent 066d589 commit 1e05f14

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ Docs: https://docs.openclaw.ai
335335
- 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.
336336
- 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.
337337
- 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.
338+
- 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.
338339

339340
## 2026.3.2
340341

src/gateway/channel-health-policy.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ export type ChannelHealthPolicy = {
3636
channelConnectGraceMs: number;
3737
};
3838

39-
export type ChannelRestartReason = "gave-up" | "stopped" | "stale-socket" | "stuck" | "disconnected";
39+
export type ChannelRestartReason =
40+
| "gave-up"
41+
| "stopped"
42+
| "stale-socket"
43+
| "stuck"
44+
| "disconnected";
4045

4146
function isManagedAccount(snapshot: ChannelHealthSnapshot): boolean {
4247
return snapshot.enabled !== false && snapshot.configured !== false;

0 commit comments

Comments
 (0)