feat: Add GitHub integration, code visualization, security scanning, performance profiling, and custom rules - #667
Conversation
…performance profiling, and custom rules - Implement GitHub integration with OAuth, repository import, commit analysis, PR tracking, and issue sync - Add code visualization graphs: call graphs, class diagrams, dependency trees - Add security vulnerability scanning: secret detection, vulnerability detection, dependency scanning - Add performance profiling tools: complexity analysis, bottleneck detection, optimization suggestions - Add custom rule definitions: rule syntax, pattern matching, severity levels, rule testing, rule sharing Closes CodeGraphContext#662, CodeGraphContext#663, CodeGraphContext#664, CodeGraphContext#665, CodeGraphContext#666
|
@magic-peach is attempting to deploy a commit to the shashankss1205's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
👋 Thanks for contributing to CodeGraphContext! Since this PR was opened, |
|
Triage update: this bundles five features (GitHub integration, visualization, security scanning, profiling, custom rules) into one +2k-line PR, which we can't review responsibly as a unit. @magic-peach if any of these is still something you want to land, please split it into one PR per feature against current main — the security scanning piece overlaps with #1313 which we're actively interested in. Thanks for understanding! 🙏 |
|
Keeping this open, but it needs splitting before it can be reviewed. The PR bundles five unrelated capabilities in one changeset — GitHub integration, code visualization, security scanning, performance profiling and custom rules (+2053/-125 across 9 files). Each is a separate design decision, and a reviewer has to accept or reject all five together. That is the main reason this has sat for 156 days. It is also currently conflicting with What would make this land. Split into one PR per capability, smallest first, each with its own issue. Two of the five have a clear path right now:
For the other three, please open an issue describing the design first — particularly GitHub integration, which spans OAuth, repository import, commit history and PR tracking; those are four separate projects. I reopened #662 earlier because closing it while this PR was open was the wrong call. The issue stands; this PR just needs to arrive in pieces a reviewer can act on. |
|
Thanks for the substantial work here, and apologies this has been open so long. I attempted the merge and hit 22 conflict regions across Before you spend that effort, though, I'd like to suggest restructuring, because the bundle has partly been overtaken: This PR carries five independent features (
My suggestion: split this into one PR per feature against current The new handler modules themselves merge cleanly — it's only the Let me know which piece you'd like to start with and I'll make sure it gets a fast review. If you'd rather not carry this forward, that's completely fine too — just say so and I'll close it with credit noted on #662. |
Summary
This PR implements five major feature requests for CodeGraphContext:
GitHub Integration (Issue #662)
Code Visualization Graphs (Issue #663)
Security Vulnerability Scanning (Issue #664)
Performance Profiling Tools (Issue #665)
Custom Rule Definitions (Issue #666)
Changes Made
github_integration.pyfor GitHub API interactionsgithub_handlers.pyvisualization_handlers.pysecurity_handlers.pyperformance_handlers.pycustom_rules_handlers.pytool_definitions.pywith new toolsserver.pywith new tool wrappers and routingrequestsdependency topyproject.tomlTesting
Closes #662, #663, #664, #665, #666