Draft: Add Jest coverage export to ClickHouse

What does this MR do and why?

Add Jest coverage export to ClickHouse

Adds a new CI job test-coverage:export-jest that exports Jest test coverage data to ClickHouse for analysis. This complements the existing RSpec coverage export.

Also adds infrastructure for future E2E frontend coverage merging:

  • Scripts to download E2E coverage from child pipelines
  • Scripts to merge Jest and E2E coverage in Istanbul format
  • Job test-coverage:export-jest-and-e2e (currently inactive due to timing mismatch between Jest coverage and BABEL_ENV=istanbul)

The E2E merge job requires both coverage-frontend (runs on default branch pushes) and BABEL_ENV=istanbul (only set on schedules). A future MR will align these conditions to enable the merged coverage export.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading