How pawarprakash-devops/deployment-tracker works
VidAI Deployment Tracker ingests CI deployment events, records deployment and environment history, and presents operational dashboards for promotion drift, health, fleet telemetry, and Jira delivery metrics. The principal workflow is CI webhook → normalized deployment/environment record → dashboard or analytics view; users can also manage records and query Jira. The graph preserves the documented Jira, health, and promotion capabilities. Arrows are limited to relationships shown in excerpts, the SOURCE INDEX, or README; several route-to-page relationships are documented rather than source-inspected.
Main entry points: db.ts Deployment store · page.tsx Deployment dashboard · route.ts CI webhook · jira Jira metrics and insights
Components 23
Deployment ingestion
- CI webhook
app/api/webhook/route.ts - Deployment store
lib/db.ts - Production alerts
lib/alerts.ts
Deployment operations
- Deployment dashboard
app/page.tsx - Deployment records API
app/api/deployments/route.ts - Deployment item API
app/api/deployments/[id]/route.ts - Environment API
app/api/environments/route.ts - Environment item API
app/api/environments/[id]/route.ts
Delivery insights
- Promotion radar
app/DriftRibbon.tsx - Promotion comparison API
app/api/drift/route.ts - Commit details API
app/api/drift/commits/route.ts - Repository compare API
app/api/compare/route.ts - Environment health page
app/health/page.tsx - Latest deploy health API
app/api/health/route.ts - Live cluster probes
app/api/cluster-health/route.ts - Fleet telemetry
app/admin/page.tsx - DORA statistics API
app/api/admin/stats/route.ts
Jira analytics
- Jira dashboard
app/jira/page.tsx - Jira metrics and insights
app/api/jira - Jira client and metrics
lib/jira.ts
Other components
- CI system
- Dashboard user
- Jira Cloud
Connections 23
- CI system → CI webhook: submits events
- CI webhook → Deployment store: writes deployments
app/api/webhook/route.ts - CI webhook → Production alerts: notifies
app/api/webhook/route.ts - Dashboard user → Deployment dashboard: views dashboard
- Deployment dashboard → Deployment records API: loads history
- Deployment records API → Deployment store: reads and writes
app/api/deployments/route.ts - Deployment item API → Deployment store: updates records
app/api/deployments/[id]/route.ts - Environment API → Deployment store: manages environments
app/api/environments/route.ts - Environment item API → Deployment store: deletes environment
app/api/environments/[id]/route.ts - Deployment dashboard → Promotion radar: renders
app/page.tsx - Promotion radar → Promotion comparison API: fetches comparisons
app/DriftRibbon.tsx - Dashboard user → Environment health page: checks health
- Environment health page → Latest deploy health API: loads latest success
- Latest deploy health API → Deployment store: reads deployments
app/api/health/route.ts - Deployment dashboard → Live cluster probes: probes clusters
- Dashboard user → Fleet telemetry: reviews telemetry
- Fleet telemetry → DORA statistics API: loads DORA metrics
- DORA statistics API → Deployment store: reads deployments
app/api/admin/stats/route.ts - Dashboard user → Jira dashboard: explores delivery
- Jira dashboard → Jira metrics and insights: requests Jira insights
- Jira metrics and insights → Jira client and metrics: uses metrics client
app/api/jira/insights/route.ts - Jira metrics and insights → Deployment store: reads deployment links
app/api/jira/insights/route.ts - Jira client and metrics → Jira Cloud: queries issues