aspect-build / aspect-build/aspect-cli-legacy

[FR]: Support lcov parsing for coverage

Open
#31 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
3
Forks
1
Avg merge
2h 55m
Merged PRs (30d)
3

Description

### What is the current behavior?

Part of https://github.com/bazelbuild/bazel/discussions/19144 - bazel's coverage support only produces the LCOV format, and expects users to install some other tool like `genhtml` to view the result.

### Describe the feature

Aspect CLI could include an lcov parser and be able to produce more useful outputs like cobertura XML, and it could also print a coverage summary itself.

Another use-case: this GHA is slow https://github.com/aspect-build/rules_py/actions/runs/12920978802/job/36034199684 because it uses hrishikesh-kadam/setup-lcov@6c1aa0cc9e1c02f9f58f01ac599f1064ccc83470 to install some packages, just to print a coverage summary.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the Aspect CLI's existing coverage-related entry points and reviewing the LCOV, Cobertura XML, and summary requirements described here. Done means the CLI can parse LCOV and produce the requested useful outputs without requiring an external coverage tool.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.