From b9b94715fa0b0bc0fff1ecf5e8e4665c1084ad9c Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 31 Jan 2026 12:02:32 +0100 Subject: [PATCH] fix: avoid stderr backpressure in macOS discovery (#3304) (thanks @abhijeet117) --- CHANGELOG.md | 1 + .../Sources/OpenClawDiscovery/WideAreaGatewayDiscovery.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f65d464bf..060eed776 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ Docs: https://docs.openclaw.ai - Security: restrict local path extraction in media parser to prevent LFI. (#4880) - Gateway: prevent token defaults from becoming the literal "undefined". (#4873) Thanks @Hisleren. - Control UI: fix assets resolution for npm global installs. (#4909) Thanks @YuriNachos. +- macOS: avoid stderr pipe backpressure in gateway discovery. (#3304) Thanks @abhijeet117. - Telegram: normalize account token lookup for non-normalized IDs. (#5055) Thanks @jasonsschin. - Telegram: preserve delivery thread fallback and fix threadId handling in delivery context. - Telegram: fix HTML nesting for overlapping styles/links. (#4578) Thanks @ThanhNguyxn. diff --git a/apps/macos/Sources/OpenClawDiscovery/WideAreaGatewayDiscovery.swift b/apps/macos/Sources/OpenClawDiscovery/WideAreaGatewayDiscovery.swift index f38eb994a..bacff45d6 100644 --- a/apps/macos/Sources/OpenClawDiscovery/WideAreaGatewayDiscovery.swift +++ b/apps/macos/Sources/OpenClawDiscovery/WideAreaGatewayDiscovery.swift @@ -223,9 +223,9 @@ enum WideAreaGatewayDiscovery { process.arguments = args let outPipe = Pipe() process.standardOutput = outPipe + // Avoid stderr pipe backpressure; we don't consume it. process.standardError = FileHandle.nullDevice - do { try process.run() } catch {