Registry: require module-level service create_plugin factory #186

Closed
opened 2026-09-08 02:03:10 +00:00 by nsaspy · 0 comments
Owner

Registry compatibility false-green found while comparing the validator to current Zara PluginManager.discover(). Zara resolves create_plugin as a module attribute, but validate_service_entrypoint() currently accepts any nested create_plugin found by ast.walk, so a published service can pass source validation and still be undiscoverable. TDD slice: reject nested-only factories, accept a module-level sync/async factory, then run registry compatibility/Nix gates.

Registry compatibility false-green found while comparing the validator to current Zara `PluginManager.discover()`. Zara resolves `create_plugin` as a module attribute, but `validate_service_entrypoint()` currently accepts any nested `create_plugin` found by `ast.walk`, so a published service can pass source validation and still be undiscoverable. TDD slice: reject nested-only factories, accept a module-level sync/async factory, then run registry compatibility/Nix gates.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/zara-plugins#186
No description provided.