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.
This commit is contained in:
cybermaggedon 2026-04-30 09:53:58 +01:00 committed by GitHub
parent 69b0b9b326
commit 89f058d35b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
)