Skip to content

Multi-Repo Insights

Real-time dashboard and analytics across all your connected repositories.

Overview

The Insights pillar provides a unified view of your entire GitHub fleet:

FeatureDescription
Fleet OverviewRepos, issues, PRs, CI runs across all installations
Health MetricsIssue velocity, CI success rates, merge times
CI TrendsHistorical CI pass/fail trends with Recharts
Activity FeedRecent actions across all repos

Dashboard

The web dashboard (Next.js 16) provides:

PageContent
/Fleet overview with key metrics
/reposRepository list with sync status
/issuesIssue list with triage info
/pull-requestsPR list with size/risk ratings
/ciCI runs with healing status
/insightsVelocity, health, activity charts
/fix-attemptsAutonomous contributor history

Data Refresh

The dashboard uses SWR (Stale-While-Revalidate) for data fetching:

  • Polls every 30 seconds for active pages
  • Shows stale data while fetching fresh data
  • No manual refresh needed

API Endpoints

MethodPathDescription
GET/api/insights/overviewFleet-wide overview stats
GET/api/insights/reposRepository health summaries
GET/api/insights/velocityIssue/PR velocity metrics
GET/api/insights/ci-trendCI pass/fail trends over time

Example Response

json
{
  "repos": 18,
  "open_issues": 42,
  "open_prs": 12,
  "ci_success_rate": 0.87,
  "avg_merge_time_hours": 36
}

In This Section

Released under the MIT License.