Skip to content

Commit ca371e6

Browse files
committed
feat: Implement batch analysis with background jobs, a dedicated settings page, and enhanced repository evolution including trendlines.
1 parent 5282d85 commit ca371e6

3 files changed

Lines changed: 60 additions & 4 deletions

File tree

AGENTS.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ This document provides essential context and guidelines for AI assistants workin
2222
- **Bus Factor & Ownership**: Single maintainer risk, fragmentation, and owner churn analysis
2323
- **Social Network Analysis**: Collaboration graphs, knowledge silos, and orphaned code detection
2424
- **Cross-Repository Analytics**: Aggregated analysis across all repositories in a project
25+
- **Batch Analysis & Jobs**: Background job queue for "Analyze All" comprehensive repository/project analysis
2526
- **AI-Powered Analysis** (Optional): Local Ollama integration for enhanced insights and natural language analysis
2627

2728
## Architecture
@@ -112,7 +113,8 @@ src/
112113
│ ├── cross-repo-codebase-health.$projectId.tsx # Cross-repo health
113114
│ ├── cross-repo-repository-evolution.$projectId.tsx # Cross-repo evolution
114115
│ ├── cross-repo-bus-factor-and-ownership.$projectId.tsx # Cross-repo bus factor
115-
│ └── cross-repo-social-network-analysis.$projectId.tsx # Cross-repo SNA
116+
│ ├── cross-repo-social-network-analysis.$projectId.tsx # Cross-repo SNA
117+
│ └── settings.tsx # Dedicated settings page
116118
└── components/
117119
├── Layout.tsx # Main layout with sidebar (Headless UI)
118120
├── ProjectsSidebar.tsx # Sidebar for project/repository selection
@@ -285,6 +287,11 @@ src/
285287
- `GET /cross-repo-bus-factor-and-ownership?projectId=<id>` - Cross-repo bus factor
286288
- `GET /social-network-analysis?path=<repo-path>` - Social network analysis
287289
- `GET /cross-repo-social-network-analysis?projectId=<id>` - Cross-repo SNA
290+
- **Jobs**:
291+
- `POST /repositories/:id/analyze-all` - Start full analysis for a repository
292+
- `POST /projects/:id/analyze-all` - Start full analysis for all repositories in a project
293+
- `GET /repositories/analyze-all/active` - List all active analysis jobs
294+
- `GET /repositories/analyze-all/status?jobId=<id>` - Get status of a specific job
288295
- **Cache**:
289296
- `POST /cache/clear` - Clear analysis cache (optional `path` in body)
290297
- **Settings** (Ollama Integration):
@@ -683,8 +690,11 @@ cd server && npm run build
683690

684691
---
685692

686-
**Last Updated**: December 2024 - Updated to reflect:
693+
**Last Updated**: February 2026 - Updated to reflect:
687694

695+
- Batch Analysis & Background Job Queue
696+
- Dedicated Settings Page migration
697+
- Enhanced Repository Evolution with trendlines
688698
- Ollama integration for AI-powered analysis
689699
- Settings management API and UI
690700
- Ollama service module with connection testing

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ Currently it works only on local machines.
4141
- **Complexity**: Average diff sizes, largest diffs, most rewritten files
4242

4343
- **Repository Evolution**:
44-
- Commit frequency over time
44+
- Commit frequency over time with **trendline analysis**
4545
- Release information (tags, dates, commit hashes)
4646
- Growth curves (LOC and files over time)
4747
- Change bursts (periods of high activity)
4848
- Churn metrics (additions, deletions, net change)
49+
- Monthly aggregation for long-term trend visualization
4950

5051
- **Bus Factor & Ownership**:
5152
- Single maintainer risk analysis
@@ -65,6 +66,12 @@ Currently it works only on local machines.
6566
- Synchronization patterns (commits across repos on same dates)
6667
- Portfolio-level views of organization-wide activity, unstable/dying repositories, and overloaded contributors
6768

69+
### Batch Analysis & Jobs
70+
71+
- **Analyze All**: Trigger all analysis types for a repository or project with a single click
72+
- **Background Processing**: Long-running analyses run in a background queue
73+
- **Real-time Progress**: Monitor analysis progress with detailed status updates and percentage completion
74+
6875
### Project Management
6976

7077
- **Multi-Project Support**: Organize repositories into projects
@@ -171,7 +178,7 @@ git-intelligence/
171178
```
172179

173180
d. **Configure in Git Intelligence**
174-
- Open the application and go to Settings (gear icon)
181+
- Open the application and navigate to the **Settings** page via the sidebar
175182
- Navigate to the "AI Analysis (Ollama)" section
176183
- Enable Ollama integration
177184
- Configure host (default: `localhost`), port (default: `11434`), and model name
@@ -224,6 +231,7 @@ cd server && npm start
224231
- Select a repository to view single-repository analytics
225232
- Select a project to view cross-repository analytics
226233
- Use the refresh option to bypass cache and get fresh data
234+
- Use the **Analyze All** feature to trigger comprehensive background analysis for a repository or project
227235

228236
## 🧪 Testing
229237

RELEASE.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Release Notes - Git Intelligence
22

3+
## v0.3.0
4+
5+
**Release Date:** February 17, 2026
6+
**Tag:** `v0.3.0`
7+
8+
---
9+
10+
### 🔍 Overview
11+
12+
Git Intelligence v0.3.0 introduces **comprehensive batch analysis** capabilities with the "Analyze All" feature, a **dedicated Settings page** for better configuration management, and **enhanced evolution analytics** with trendline calculations. This release focuses on improving the workflow for analyzing large projects and providing deeper long-term insights.
13+
14+
### ✨ Highlights
15+
16+
- **Batch Analysis: "Analyze All"**
17+
- Trigger all analysis types (Stats, Developer, Health, Evolution, Bus Factor, SNA, Risk) in a single action.
18+
- New **Background Job Queue** system to handle long-running analyses without blocking the UI.
19+
- Real-time progress monitoring showing percentage completion and current step.
20+
- Available for both individual repositories and entire projects (cross-repo analysis).
21+
- Automatic cache refreshing when using Analyze All to ensure the latest data.
22+
23+
- **Dedicated Settings Page**
24+
- Migrated settings from a modal dialog to a full-width, dedicated page.
25+
- Streamlined layout for managing Ollama configuration and AI analysis settings.
26+
- Improved accessibility and focus for application configuration.
27+
28+
- **Enhanced Repository Evolution**
29+
- **Trendline Analysis**: Added linear regression trendlines to commit frequency charts.
30+
- **Monthly Data Aggregation**: Improved visualization of long-term trends for mature repositories.
31+
- Refined chart tooltips and axis formatting for better readability.
32+
33+
- **Infrastructure & UX**
34+
- New `jobQueue` module for managing concurrent analysis tasks.
35+
- Real-time status updates in `ProjectsList` for ongoing jobs.
36+
- Downgraded client ESLint dependency to fix environment-specific build issues.
37+
- Cleaned up obsolete integration specifications.
38+
39+
---
40+
341
## v0.2.0
442

543
**Release Date:** December 11, 2025

0 commit comments

Comments
 (0)