From 2ef095ce460c0522ed1bcf559d407935ba1bddc7 Mon Sep 17 00:00:00 2001 From: Ben Barclay Date: Fri, 21 Aug 2026 12:42:13 +1000 Subject: [PATCH] fix(gateway): source-neutral log wording for relay-exclusive sweep sol-reviewer MINOR: the _enabled_explicit marker is set by config.yaml, gateway.json, and dashboard PUTs alike, so the WARNING no longer claims config.yaml specifically. Also names the opt-out env var in the message so an operator seeing the WARNING knows the escape hatch. --- gateway/config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gateway/config.py b/gateway/config.py index 556f5a467f..fece329595 100644 --- a/gateway/config.py +++ b/gateway/config.py @@ -2793,8 +2793,10 @@ def _apply_env_overrides(config: GatewayConfig) -> None: logger.warning( "Relay connector is configured via GATEWAY_RELAY_URL; " "disabling directly-connected platform '%s' even though " - "it is explicitly enabled in config.yaml. All messaging " - "goes through the connector on this deployment.", + "it is explicitly enabled in this profile's configuration. " + "All messaging goes through the connector on this " + "deployment. Set GATEWAY_RELAY_ALLOW_DIRECT_PLATFORMS=true " + "to keep direct platforms alongside the relay.", platform.value, ) else: