Merge remote-tracking branch 'origin/topic/awelzel/cluster-event-metadata-fixes-for-8.0'

* origin/topic/awelzel/cluster-event-metadata-fixes-for-8.0:
  cluster/Backend: Fallback to current network time when current event has not timestamp
  cluster/serializer/broker: Do not send empty metadata vectors around

(cherry picked from commit 3e89e6b328)
This commit is contained in:
Arne Welzel 2025-08-22 10:12:35 +02:00 committed by Tim Wojtulewicz
parent 4bfac4a087
commit c0a80fe610
18 changed files with 196 additions and 6 deletions

View file

@ -105,7 +105,7 @@ def run(ws_url):
# This should be good ping(string, count)
ws.send(json.dumps(make_ping([{"@data-type": "string", "data": "Hello"}, {"@data-type": "count", "data": 42}])))
pong = json.loads(ws.recv())
name, args, _ = pong["data"][2]["data"]
name, args = pong["data"][2]["data"]
print("pong", name, args)
# This one fails again