Skip to content

feat: read uncovered lines from the test result, require very_good_cli 1.5.0 - #177

Merged
ryzizub merged 2 commits into
mainfrom
fix/green-gate-show-uncovered
Oct 13, 2026
Merged

ryzizub merged 2 commits into
mainfrom
fix/green-gate-show-uncovered

Conversation

@ryzizub

@ryzizub ryzizub commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Description

Closes #146

green-gate reconstructed per-file coverage gaps by parsing coverage/lcov.info.
The MCP test tool has exposed show_uncovered since very_good_cli 1.5.0, so the
result the skill already has carries them. The skill now passes
show_uncovered: true, ranks fix targets from the result's Lines not covered:
block, and keeps the lcov parse as the fallback.

Raises the CLI version floor 1.3.0 → 1.5.0 in vgv-cli-common.sh, since the skill
depends on that parameter.

The issue asked for a very_good.yaml instead, because 1.4.0 lacked the MCP
parameter; 1.5.0 has it, which the issue names as the better route.

Type of Change

  • New feature (feat)
  • Bug fix (fix)
  • Code refactor (refactor)
  • Documentation (docs)
  • CI change (ci)
  • Chore (chore)

🤖 Generated with Claude Code

The MCP `test` tool exposes `show_uncovered` as of very_good_cli 1.5.0, so its
result carries the per-file `Lines not covered:` block the coverage gate used to
reconstruct by parsing `coverage/lcov.info`.

- Pass `show_uncovered: true` alongside the other coverage parameters
- Rank fix targets from the result; the lcov parse is now the fallback for a
  result without the block
- Soften the "Bash is reserved for parsing lcov" carve-out accordingly

Closes #146
green-gate now relies on `show_uncovered` on the MCP `test` tool, which the CLI
only exposes from 1.5.0. Raise the single floor in `vgv-cli-common.sh` so the
version checks match what the skills call, and update the test fixtures and the
docs that quote the floor.
@ryzizub
ryzizub marked this pull request as ready for review October 13, 2026 10:32
@ryzizub
ryzizub requested a review from a team as a code owner October 13, 2026 10:32
@ryzizub
ryzizub merged commit 75b2512 into main Oct 13, 2026
5 checks passed
@ryzizub
ryzizub deleted the fix/green-gate-show-uncovered branch October 13, 2026 11:09
@vgvbot vgvbot mentioned this pull request Oct 6, 2026
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.

fix: green-gate parses lcov for uncovered lines the MCP result can now supply

2 participants