adaptation related to meta-core api changes

This commit is contained in:
Pierre
2026-05-24 17:26:29 +02:00
parent 28cb433724
commit 56eced073a
3 changed files with 208 additions and 89 deletions
+9
View File
@@ -137,6 +137,15 @@ class LeaderClient:
data = json.loads(response.read().decode())
# api-mediated-access PR D: redisUrl is no longer published by
# meta-core. If it shows up, an old build snuck back in —
# log a warning so it surfaces in the operator's face.
if data.get('redisUrl'):
print(
"[LeaderClient] WARNING: meta-core still publishes redisUrl; "
"direct Redis access was retired by the api-mediated-access "
"lockdown. Verify meta-core version."
)
self._cached_urls = URLsResponse(
hostname=data.get('hostname', ''),
base_url=data.get('baseUrl', ''),