gavel_coverage
Analyze code coverage for a Bazel monorepo project. Get overall percentage and per-file breakdown with uncovered line ranges.
Instructions
Get code coverage for a project. Runs a full analysis and reports the overall percentage plus a per-file breakdown. Pass 'files' to focus on specific files and see their uncovered line ranges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | No | Show per-file coverage change since the last green baseline (only files whose coverage moved, plus files with no baseline marked '(new)'). Reports 'No previous baseline' on the first run. | |
| files | No | Filter the per-file breakdown to these file paths (relative to workspace root). When set, uncovered line ranges are listed for each file. | |
| project | No | Project name (analyzes all projects if omitted) | |
| packages | No | Filter the per-file breakdown to whole package trees (relative to workspace root). A trailing '/...' matches the package and its subpackages; without it, only files directly in that package. Mutually exclusive with 'files'. Same output as 'files', with uncovered line ranges. | |
| gavelspace | No | Absolute path to a gavelspace directory (omit to use the directory where Claude Code is running) |