Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-12298

[QE] Implement code coverage pipeline integrated with ReportPortal and Codecov

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Quality

      Task

      Implement code coverage instrumentation and reporting, integrated with the existing ReportPortal instance and Codecov.

      Background

      Coverage metrics will be mandated by P&D in CY26. RHDH already uses ReportPortal for test results. The coverage pipeline should leverage this.

      Components:

      1. Unit test coverage: Jest + Istanbul, uploaded to Codecov (upstream) and SonarQube (downstream)
      2. E2E coverage: Istanbul.js for frontend coverage during Playwright runs
      3. ReportPortal integration: Link coverage reports to test execution in ReportPortal for unified test health + coverage view
      4. PR checks: Coverage diff in PR comments via Codecov GitHub integration
      5. Thresholds: 60% for plugins, 50% for core (start reporting-only, then enforce)

      Pipeline: CI -> Tests -> .lcov files -> Codecov/SonarQube + ReportPortal -> DevLake (P&D) -> Grafana

      Dependencies and Blockers

      Acceptance Criteria

      • Codecov configured for RHDH monorepo (upstream)
      • SonarQube configured (downstream)
      • ReportPortal displays coverage data alongside test results
      • Coverage diff in PR comments
      • Thresholds enforced after reporting-only period
      • Dashboard with coverage trends

              Unassigned Unassigned
              gustavolira Gustavo Lira Silva
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: