Codecov Integration
Codecov provides per-PR and per-repository coverage data that feeds directly into Koalr's deploy risk model. Coverage delta is the 7th deploy risk factor: PRs that decrease coverage on high-churn files score meaningfully higher risk. The integration is read-only.
What Koalr pulls from Codecov
- Per-repository coverage percentage by branch
- Per-PR coverage delta (coverage change introduced by this PR)
- Flag-level coverage breakdown (unit, integration, end-to-end)
- File-level coverage for hotspot detection
- Test pass rates and flake rates per suite
How Codecov data feeds into Koalr
- Coverage delta as the 7th deploy risk factor — low-coverage PRs score higher risk
- Hotspot detection — files with high churn and low coverage are flagged
- PR coverage delta UI — shows coverage change inline with PR review
- Coverage threshold alerts via Slack when coverage drops below baseline
- Coverage trend tracking across sprints and quarters
How to connect Codecov
- 1
Go to Settings → Integrations in your Koalr dashboard.
- 2
Find Codecov in the integrations list and click Connect.
- 3
Generate a read-only API token in Codecov and paste it into Koalr. No OAuth flow required — the token is encrypted at rest.
- 4
Koalr begins syncing historical data immediately. Most integrations backfill 90 days of history on first connect.
Permissions and scopes requested
Koalr requests the minimum permissions required to read the data above. All access is read-only unless noted otherwise.
Read-only API token scoped to your Codecov organizationAccess to coverage reports, PR comments data, and flag metadata
Ready to connect Codecov?
Connect in under 5 minutes. Koalr backfills 90 days of history automatically — no manual imports, no CSV uploads.