Skip to content

The agent that grows with you

docs(gateway): say what a worker-side nested resolve actually returns

kshitijk4poor7f10c8ef412c
diff --git a/gateway/platform_registry.py b/gateway/platform_registry.py
index a4505068fd2..0d6390c04c6 100644
--- a/gateway/platform_registry.py
+++ b/gateway/platform_registry.py
@@ -221,7 +221,7 @@ class PlatformRegistry:
if event is None and name not in entries and self._loading.get():
from hermes_cli.plugins_loader import in_plugin_load_worker
if in_plugin_load_worker():
- return # nested walk on a deadline worker: the outer walk resolves siblings
+ return # on a deadline worker: never block on a sibling load the parent may hold the lock for; caller sees it unloaded
if event is None and name not in entries:
loader = deferred.pop(name, None)
if event is None and loader is None and name not in entries: