Skip to main content

CI/CD Monitoring

The Control Center integrates with the GitHub API to provide real-time visibility into pull requests, GitHub Actions workflow runs, build performance, and deployment history.


GitHub Integration​

github.service.ts connects to GitHub via the REST API using a personal access token:

FunctionDescriptionGitHub API
Pull request trackingOpen PRs with review statusGET /repos/{owner}/{repo}/pulls
Workflow run monitoringGitHub Actions run historyGET /repos/{owner}/{repo}/actions/runs
CI statisticsSuccess/failure rates, average build timesComputed from workflow runs
Deployment trackingIdentify deploy-related runsFiltered by workflow name

Dashboard Views​

PR Board​

ColumnDataUpdate Frequency
TitlePR title + linkOn page load + polling
AuthorPR creator avatar + nameStatic
StatusOpen, Draft, Ready for ReviewLive
ReviewsApproved, Changes Requested, PendingLive
CI StatusPassing, Failing, PendingLive
AgeTime since creationComputed
Merge ConflictsHas conflictsLive

CI Health Dashboard​

ChartMetricTime Range
Success Rate% of passing workflow runsLast 7/30/90 days
Average Build TimeMean duration of completed runsLast 7/30/90 days
Failure Rate by WorkflowWhich workflows fail mostLast 30 days
Build Time TrendBuild duration over timeLast 30 days

Recent Workflow Runs​

ColumnData
WorkflowWorkflow name (e.g., "CI", "Deploy")
BranchTrigger branch
StatusSuccess, Failure, In Progress, Cancelled
DurationRun time
Triggered ByPush, PR, Schedule, Manual
TimestampWhen the run started

Deployment Log​

ColumnData
VersionCommit SHA or tag
EnvironmentProduction, Staging
StatusDeployed, Rolled Back, Failed
DurationDeploy time
DeployerWho triggered the deploy
TimestampWhen deployed

Configuration​

Set these in the Control Center settings page or environment:

SettingDescription
GITHUB_TOKENPersonal access token with repo scope
Monitored repositoriesList of owner/repo pairs to track
Deploy workflow namesWorkflow names that represent deployments
# Environment variable
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Data Flow​


Notifications​

The CI/CD monitor generates notifications for:

EventNotification
Workflow run failureCI failed on <branch>: <workflow name>
PR approved and ready to merge<PR title> is ready to merge
Deploy completedDeployed <commit> to production
Deploy failedDeployment failed: <error>

Cross-Reference