From 69b0b9b3264cae291919f1b83fc6c18c7ea30c32 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Thu, 30 Apr 2026 09:53:32 +0100 Subject: [PATCH 1/2] Add missing websockets dep (#859) Added 'websockets' to pyproject.toml in trustgraph-base --- trustgraph-base/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/trustgraph-base/pyproject.toml b/trustgraph-base/pyproject.toml index c4ef3c27..9a679062 100644 --- a/trustgraph-base/pyproject.toml +++ b/trustgraph-base/pyproject.toml @@ -17,6 +17,7 @@ dependencies = [ "pika", "confluent-kafka", "pyyaml", + "websockets", ] classifiers = [ "Programming Language :: Python :: 3", From 89f058d35bd33bf1acbd16b02fff2028caacc0a2 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Thu, 30 Apr 2026 09:53:58 +0100 Subject: [PATCH 2/2] Fix erroneous handling of __template__ and __system__ workspaces (#860) __template__ and __system__ are not real workspace but config zones for workspace template and init handling. They should not be processed as workspaces. Now ignores workspace beginning with '_' prefix. --- trustgraph-base/trustgraph/base/async_processor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trustgraph-base/trustgraph/base/async_processor.py b/trustgraph-base/trustgraph/base/async_processor.py index a7ce4961..9741d2f5 100644 --- a/trustgraph-base/trustgraph/base/async_processor.py +++ b/trustgraph-base/trustgraph/base/async_processor.py @@ -209,6 +209,8 @@ class AsyncProcessor: # Call the handler once per workspace for ws, config in per_ws.items(): + if ws.startswith("_"): + continue await entry["handler"](ws, config, version) logger.info( @@ -310,6 +312,8 @@ class AsyncProcessor: per_ws.setdefault(ws, {})[t] = kv for ws, config in per_ws.items(): + if ws.startswith("_"): + continue await entry["handler"]( ws, config, notify_version, )