code-health

Upload Coverage

Ingest an uploaded coverage report (lcov / cobertura / clover / repowise-json) into the repo's coverage artifact.

Owner-only. The uploaded report's paths are reconciled against the snapshot's file tree; any that can't be matched come back in unmatched_paths so a partial upload is visible, never silent. Stored repo-scoped (not under the snapshot's head prefix) so the report survives reindexes; reads re-join it onto the then-active snapshot.

post/snapshots/{snapshot_id}/health/coverage

Path parameters

snapshot_idstring required

Response

Successful Response

source_formatstring required
overall_line_coverage_pctnumber nullable
file_count_with_coverageinteger
report_file_countinteger
matched_file_countinteger
unmatched_pathsstring[]
ingested_atstring nullable
has_contextsboolean
test_map_rowsinteger

Changes