Skip to content

Conversation

@rostilos
Copy link
Owner

@rostilos rostilos commented Jan 18, 2026

Main changes:

  • Default branch -> main branch, which is now used to train the main RAG.

Delta indexes added (beta version).

  • For non-main branches - diff indexing between the target branch and main.
  • Branches that fall under Branch Push Patterns will now have delta RAG indexes (useful for flow when release branches are present).

Additional Changes & bugfix:

New analysis-api module:

  • Added new Maven module codecrow-analysis-api with its own pom.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]
  • Introduced RagOperationsService interface, 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:

  • Updated analysis-engine to depend on the new codecrow-analysis-api and codecrow-events modules in its pom.xml and module-info.java. This allows the engine to use the new RAG API and publish/subscribe to analysis events. [1] [2]
  • Modified BranchAnalysisProcessor to inject and use RagOperationsService and ApplicationEventPublisher, enabling RAG operations and event publishing for analysis lifecycle events. [1] [2] [3] [4]

Event-driven analysis processing:

  • Enhanced the process method in BranchAnalysisProcessor to publish AnalysisStartedEvent and AnalysisCompletedEvent (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:

  • Added generated and input file tracking for the new analysis-api module 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.

- Implemented GitLabBranchWebhookHandler to handle push events for branch analysis.
- Created GitLabMergeRequestWebhookHandler to manage merge request events and trigger analysis.
- Added GitLabMrMergeWebhookHandler for handling merge events and updating issue status.
- Introduced GitLabWebhookParser to parse various GitLab webhook payloads.
- Updated ProjectController to return CommentCommandsConfig directly.
- Refactored ProjectService to utilize new configuration models for branch analysis and comment commands.
@coderabbitai
Copy link

coderabbitai bot commented Jan 18, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@rostilos rostilos merged commit f75e01c into 1.2.0-rc Jan 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants