Skip to content

Formatting Coverage Takes a Long Time #440

Open
@zackerydev

Description

@zackerydev

Hi 👋

We have been using Code Climate in our TypeScript Mono Repo for the last few months with great success. It is around 124k lines of code split across around 30 apps and packages.

To report coverage to CodeClimate we have to format and sum up all of the lcov.info files. Occasionally the format step takes upwards of 15 minutes to complete, while other times it takes around 6 minutes. I am wondering if there is anything that can be done to improve performance?

Two potential solutions on the CodeClimate side would be to

  • Allowing partial (sub directory) reporting to be done in the base branch so we can report subsets of coverage based on the apps/packages (directories) changed in the mainline branch. This way we don't have to format and sum up 30+ lcov files.
  • Allowing uploads of the lcov.info files directly and formatting them into the code climate format after uploading.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions