[#54] refactor: move plugin graph inspection into PluginRegistry #77
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Competitor
Kind/Documentation
Kind/Enhancement
Kind/Epic
Kind/Feature
Kind/Security
Kind/Story
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Core
Scope/Cross-Plugin
Scope/Plugin-System
Scope/Single-Plugin
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ultanio/cobot!77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nazim/cobot:refactor/inspect-to-registry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Moves the graph-building logic into
PluginRegistry.inspect()so the web plugin can use it at runtime with live data.Changes
registry.py: Addedinspect()method — builds graph from live registered plugins (no AST heuristics)inspect.py: Addedinspect_from_registry()wrapper, removed standaloneserve_graph()server, kept all formatters + staticscan_plugins()for CLItest_inspect.py: 9 new tests for registry inspect, kept all existing testsWhy
The standalone
--serveHTTP server was a prototype. The viz belongs in the web admin dashboard (#48), which has access to the live registry.PluginRegistry.inspect()gives it the graph data directly.scan_plugins()stays for offline CLI use (cobot plugins inspect --format table).44 tests passing.
Part of #54
0f8a00615a55fb566fec55fb566fece989c9b5d0e989c9b5d0fe6897fb9bfe6897fb9bd478157d78Pull request closed