Feature/ai pr analyser - #474
Open
aravindraju007 wants to merge 3 commits into
Open
Conversation
feat: add zero-click AI pipeline
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 PR introduces a fully automated, "zero-click" AI Pull Request Analyzer. It evaluates PR size, calculates C++ Cyclomatic Complexity, and utilizes an LLM to generate a comprehensive PDF summary dashboard attached directly to the PR.
To respect the existing CMake build system and repository structure, all Python code is isolated within the
tools/ai_pr_analyzer/directory.##Architectural Highlights
.github/workflows/pr_analyzer.ymlonpull_requestevents.lizardlibrary for real-time C++ complexity grading.weasyprintand automatically attaches it to the GitHub Actions run as a downloadable artifact.##Configuration Required for Testing
To allow the GitHub Action to run successfully on this repository, a repository secret must be configured by an administrator:
GEMINI_API_KEYcontaining the valid API token.Looking forward to your review and feedback on the implementation!