Fix erroneous handling of __template__ and __system__ workspaces

__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.
This commit is contained in:
Cyber MacGeddon 2026-04-30 09:49:35 +01:00
parent d0850ff381
commit 6c8443fb6c

View file

@ -209,6 +209,8 @@ class AsyncProcessor:
# Call the handler once per workspace # Call the handler once per workspace
for ws, config in per_ws.items(): for ws, config in per_ws.items():
if ws.startswith("_"):
continue
await entry["handler"](ws, config, version) await entry["handler"](ws, config, version)
logger.info( logger.info(
@ -310,6 +312,8 @@ class AsyncProcessor:
per_ws.setdefault(ws, {})[t] = kv per_ws.setdefault(ws, {})[t] = kv
for ws, config in per_ws.items(): for ws, config in per_ws.items():
if ws.startswith("_"):
continue
await entry["handler"]( await entry["handler"](
ws, config, notify_version, ws, config, notify_version,
) )