-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
code execution engineenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Improve Dependency Handling
Objective
Implement dependency pre-caching mechanism via CLI to improve code execution performance by avoiding runtime dependency downloads.
Dependencies
None (independent enhancement)
Requirements
- Design cache strategy (Maven local repo, custom cache, or container images)
- Implement CLI commands for dependency pre-caching
- Support specifying dependencies via configuration or manifest
- Handle dependency resolution and download
- Integrate cache with Camel code execution runtime
- Verify cached dependencies are used during code execution
- Document CLI usage for dependency management
Affected Files/Modules
/backend/router/src/main/java/ai/wanaku/router/cli/(CLI commands - may need new classes)/backend/router/src/main/java/ai/wanaku/router/bridge/CodeExecutionBridge.java(potential integration point - needs investigation)
Notes
Consider security implications of caching dependencies. Evaluate options: (1) Maven local repository reuse, (2) custom cache directory, (3) pre-built container images with dependencies. Performance vs. flexibility tradeoff. CLI should support bulk operations and individual dependency caching.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
code execution engineenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed