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.
Main changes:
Delta indexes added (beta version).
Additional Changes & bugfix:
New analysis-api module:
codecrow-analysis-apiwith its ownpom.xml,.gitignore, and Java module descriptor (module-info.java). This module provides API interfaces for RAG operations, allowing other modules to depend on interfaces without requiring implementation details. [1] [2] [3]RagOperationsServiceinterface, defining methods for checking RAG and delta index status, triggering updates, and supporting hybrid RAG scenarios. This interface enables optional and testable RAG integration.Integration with analysis-engine:
analysis-engineto depend on the newcodecrow-analysis-apiandcodecrow-eventsmodules in itspom.xmlandmodule-info.java. This allows the engine to use the new RAG API and publish/subscribe to analysis events. [1] [2]BranchAnalysisProcessorto inject and useRagOperationsServiceandApplicationEventPublisher, enabling RAG operations and event publishing for analysis lifecycle events. [1] [2] [3] [4]Event-driven analysis processing:
processmethod inBranchAnalysisProcessorto publishAnalysisStartedEventandAnalysisCompletedEvent(success or failure) with relevant metadata, such as correlation ID, status, and file counts. This provides better observability and integration points for analysis workflows. [1] [2] [3] [4] [5]Build and metadata updates:
analysis-apimodule in the Maven target directory. [1] [2]These changes collectively improve the modularity, extensibility, and observability of the analysis subsystem by introducing a clean API boundary for RAG operations and supporting event-driven processing.