Stu Mason
Stu Mason

Activity

Issue Resolved

Issue #84 closed: chore: implement Codecov Test Analytics and Bundle Analysis

Overview

Codecov offers additional features beyond basic coverage reporting that could improve our CI/CD pipeline:

1. Test Analytics

https://docs.codecov.com/docs/test-analytics

  • Detect flaky tests
  • Report on test failures with detailed insights
  • Identify test suite problems and slow tests
  • Track test performance over time

2. JS Bundle Analysis

https://docs.codecov.com/docs/javascript-bundle-analysis

  • Track and limit bundle sizes in PRs
  • Prevent bundle bloat before it ships
  • Visualize what's contributing to bundle size

Implementation

Both features require additional configuration in our GitHub workflows:

  1. Test Analytics: Upload JUnit XML test results alongside coverage
  2. Bundle Analysis: Run bundle analysis step after build

Benefits

  • Catch flaky tests before they cause CI headaches
  • Prevent accidental bundle size regressions
  • Better visibility into test and build health

Priority

Low - nice-to-have improvement for developer experience.