Skip to content

SMOODEV-2721: coverage API (reportCoverage / listCoverage / parseLcov)#12

Open
brentrager wants to merge 1 commit into
mainfrom
coverage-api
Open

SMOODEV-2721: coverage API (reportCoverage / listCoverage / parseLcov)#12
brentrager wants to merge 1 commit into
mainfrom
coverage-api

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Adds the coverage surface to the SDK, pairing with the platform routes in SmooAI/smooai#3389: reportCoverage(), listCoverage() (supports latest=true&branch= per-scope baseline reads), exported parseLcov() (LF/LH with DA-fallback, per-file counters), and high-level reportCoverageFromLcov(path, { scope, branch, commitSha }). Unit tests for the parser; typecheck + build + full pre-commit gates green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H9YdTv1LgxPAsYJpgu5Aak

…reportCoverageFromLcov

Pairs with the /testing/coverage routes (SmooAI/smooai#3389) and th testing
coverage (smooth). parseLcov mirrors the CLI parser: LF/LH preferred, DA-line
fallback, per-file [lh,lf,bh,bf,fh,ff] counters; reportCoverageFromLcov drops
per-file detail above the API's 5000-file cap instead of failing.
@changeset-bot

changeset-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 092ac7c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@smooai/testing Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant