Description
The _hook_manager (PluginManager) is shared between runs in the KedroServiceSession and not reset between runs. Hooks that accumulate per-run state (e.g. metrics collectors, timing accumulators) will bleed state across runs in the serving scenario. This is a latent bug depending on which hooks users register.
Add documentation for this limitation.
Context
Follow up #5535
Additional context #5535 (comment)
Description
The
_hook_manager(PluginManager) is shared between runs in theKedroServiceSessionand not reset between runs. Hooks that accumulate per-run state (e.g. metrics collectors, timing accumulators) will bleed state across runs in the serving scenario. This is a latent bug depending on which hooks users register.Add documentation for this limitation.
Context
Follow up #5535
Additional context #5535 (comment)