A Hybrid AI-Deterministic Engine for Intelligent CI/CD Failure Analysis
PipelineIQ is a high-performance tool designed to bridge the gap between raw, noisy CI logs and actionable developer insights. It utilizes a hybrid approach: a deterministic regex-based engine to isolate failures, followed by an LLM enrichment layer for root-cause explanation.
- Language: Java 21 (utilizing Records, Virtual Threads, and Modern Switch Expressions)
- Framework: Spring Boot 3.4+ (CLI mode)
- AI Orchestration: LangChain4j (planned)
- Containerization: Docker (planned)
The project follows SOLID principles and a Clean Architecture approach to ensure the system is modular and testable.
- Modular Strategy: High-level business logic depends on abstractions (
LogParser,FailureClassifier,LLMProvider) rather than implementations. - Memory Efficiency: Log parsing is designed for streaming (processing line-by-line) to handle massive enterprise log files without
OutOfMemoryerrors. - Privacy-First: Designed to support local LLMs (via Ollama) to ensure sensitive logs never leave the internal infrastructure.
- Development of the deterministic failure classification layer.
- Implementation of high-performance, streaming log-parsing logic.
- Integration of LLM-based root cause analysis.
- Development of the "Privacy-First" local inference mode (Ollama support).
- Packaging as a GitHub Action for seamless CI/CD workflow integration.
- Automated reporting and Pull Request feedback loops.
This system is built with a Hybrid Intelligence approach. Unlike pure AI tools that can suffer from hallucinations or high latency, this engine utilizes:
- Deterministic Extraction: A Java-based logic layer that identifies failure "Hot Zones" using strictly defined build-tool signatures.
- Generative Explanation: An AI-orchestrated layer that synthesizes human-readable insights from technical stack traces.
By separating these concerns, the engine remains secure (sending minimal data to LLMs), cost-effective, and highly accurate.
- Java 21
- Maven 3.9+
- Clone the repository:
git clone https://github.com/your-username/ci-log-interpreter.git
- Build the project:
mvn clean install
- Run the analysis on a sample log:
mvn spring-boot:run -Dspring-boot.run.arguments="path/to/your/build.log"
This project is part of a dedicated career re-entry program focused on modernizing backend expertise in Java 21, Cloud-Native patterns, and AI Integration.