Enhance AgentDriver with caching and pipeline operations discovery#90
Merged
Enhance AgentDriver with caching and pipeline operations discovery#90
Conversation
- Introduced caching mechanisms for pipeline operations using memory and disk. - Added functions for managing cache paths and loading/saving cache data. - Improved error handling and logging during module import and inspection. - Updated `get_pipeline_ops` to return warnings and cache metadata. - Added unit tests for caching behavior and strict mode operations. - Refactored JavaScript to handle warnings from the backend response.
…s for Driver and utility functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a robust caching and error-reporting system for pipeline operation (PipelineOp) discovery in
AFL.double_agent.AgentDriver, along with improvements to the frontend pipeline builder UI to display warnings and optimize loading. It also adds targeted tests for the new backend logic. The changes improve performance, reliability, and user feedback when loading available pipeline operations.Backend: PipelineOp discovery, caching, and error handling
strictmode to bypass caches and raise errors on discovery failures. [1] [2] [3]strictflag to thepipeline_opsdriver method, allowing clients to request strict error handling.Frontend: Pipeline builder UI improvements