From 89f058d35bd33bf1acbd16b02fff2028caacc0a2 Mon Sep 17 00:00:00 2001 From: cybermaggedon Date: Thu, 30 Apr 2026 09:53:58 +0100 Subject: [PATCH] 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, )