CI Insights
Optimize your CI run time, catch flaky tests, and give developers actionable insights so your team ships code faster.
CI Insights helps you monitor your pipelines, detect flaky tests and jobs, and optimize your CI efficiency. This guide walks you through enabling CI Insights via GitHub and covers basic configuration steps.
First time here? Follow these 3 steps to see data fast:
- Install the Mergify GitHub App on a repo with existing CI.
- Ensure your tests produce a supported format (JUnit XML, pytest, Jest, etc.) – pick a framework below if needed.
- Re-run a workflow (or push a trivial commit) then refresh this page to view jobs & tests.
Understanding CI Insights
Section titled Understanding CI InsightsComponents
Section titled ComponentsRunners
Track runner fleet performance, queue times, and reliability.
Jobs
Monitor job health, duration, cost, and flaky behavior.
Auto-Retry
Automatically retry failed CI jobs caused by flaky tests or transient failures.
Flaky Detection
Section titled Flaky DetectionCI Insights automatically detects flaky behavior in both jobs and tests using the same criteria:
A flaky job or flaky test is one that has 2 different conclusions on the same SHA1. For example, if a job or test runs twice on the same commit and once fails while the other succeeds, it’s considered flaky because the outcome is not consistent with the same code.
To set up systematic flaky test detection in your CI pipeline, see our dedicated Flaky Test Detection guide.
CI Setup Guides
Section titled CI Setup GuidesSelect your CI system below to enable CI Insights and configure flaky test detection.
Buildkite
Enable CI Insights & flaky test detection for Buildkite.
GitHub Actions
Enable CI Insights & flaky test detection for GitHub Actions.
Jenkins
Enable CI Insights & flaky test detection for Jenkins.
Test Framework Configuration
Section titled Test Framework ConfigurationCI Insights supports many test frameworks and captures test-level data from them. Each framework requires a quick setup to ensure test results are parsed and uploaded properly.
Refer to the dedicated page for your specific framework to configure and verify your test output.
Cypress
Integrate Cypress with CI Insights.
Go
Integrate Go with CI Insights.
Jest
Integrate Jest with CI Insights.
JUnit
Integrate JUnit with CI Insights.
Minitest
Integrate Minitest with CI Insights.
MSTest
Integrate MSTest with CI Insights.
NUnit
Integrate NUnit with CI Insights.
Pest
Integrate Pest with CI Insights.
PHPUnit
Integrate PHPUnit with CI Insights.
Playwright
Integrate Playwright with CI Insights.
Pytest
Integrate Pytest with CI Insights.
RSpec
Integrate RSpec with CI Insights.
Rust
Integrate Rust with CI Insights.
TestNG
Integrate TestNG with CI Insights.
Vitest
Integrate Vitest with CI Insights.
Was this page helpful?
Thanks for your feedback!