diff --git a/CHANGELOG.md b/CHANGELOG.md index 99341049b62..4de61456e20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Docs: https://docs.openclaw.ai - Telegram/group chat: add opt-in `messages.groupChat.ambientTurns: "room_event"` handling so always-on ambient chatter can run as quiet room context and speak visibly only via the message tool. (#81317) Thanks @obviyus. - Codex/context engines: bind thread-bootstrap projection epochs to Codex app-server threads, carry redacted tool-result context into fresh threads, and rotate backend threads when projection state changes. (#82351) Thanks @jalehman. - Gateway: add opt-in restart trace logs for restart signal, active-work drain, close, next-start, ready, and memory spans. (#82396) Thanks @samzong. +- Gateway/performance: split startup benchmark HTTP-listen timing from full gateway-ready timing and add post-bind plugin and sidecar diagnostics to restart-readiness traces. (#82603) Thanks @samzong. ### Fixes diff --git a/scripts/bench-gateway-startup.ts b/scripts/bench-gateway-startup.ts index 039d93f37dc..45195f82dee 100644 --- a/scripts/bench-gateway-startup.ts +++ b/scripts/bench-gateway-startup.ts @@ -495,7 +495,7 @@ function classifyProbeErrorKind(error: unknown): string { return code.trim().toLowerCase(); } const message = (error as { message?: unknown }).message; - if (typeof message === "string" && /probe timeout/iu.test(message)) { + if (typeof message === "string" && message.toLowerCase().includes("probe timeout")) { return "timeout"; } const name = (error as { name?: unknown }).name; @@ -662,7 +662,7 @@ function collectStartupTrace(line: string, startupTrace: Record) } function classifyGatewayReadyLog(line: string): "gateway-ready" | "http-listen" | null { - if (/\[gateway\] http server listening \(/.test(line)) { + if (line.includes("[gateway] http server listening (")) { return "http-listen"; } if (/\[gateway\] ready(?:\s*\(|\s*$)/.test(line)) {