Files
hermes-agent/gateway
kshitijk4poor 0e77d05974 fix(gateway): don't start sibling deferred loads from a nested registry walk
Gate finding BN10.r1.2c (High): the per-flow _loading check only stopped a
nested walk from waiting on its own parent key. A register() that re-walks
the registry on its deadline worker could still pop a SIBLING deferred
loader, whose _loader then blocks on PluginManager._discovery_lock held by
the outer walk while it joins that same worker -> PluginLoadTimeout and the
outer plugin is abandoned. A flow already inside a loader now returns
before popping a new loader; the outer walk resolves the siblings itself.

The registry test's loaders now hold a shared RLock like the real _loader,
with two deferred platforms, so it pins the sibling case (red without fix).
2026-10-03 16:53:54 +05:30
..
…
…
…