Skip to content

test: raise cmd/crucible coverage above the release threshold#170

Merged
joshua-temple merged 1 commit into
mainfrom
test/crucible-cli-coverage
Jun 15, 2026
Merged

test: raise cmd/crucible coverage above the release threshold#170
joshua-temple merged 1 commit into
mainfrom
test/crucible-cli-coverage

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

The cmd/crucible module fell below the release coverage gate (76.2% vs the 80% threshold in release.yml), which blocks tagging a release.

This adds focused tests against the existing runX(args, stdout, stderr) int seams covering the previously-uncovered CLI paths: every subcommand's load-error and quench-error branch, flag-parse and wrong-arg-count errors, eject's default-package and write-failure paths, diff's read/decode errors, the help variants, the -- arg terminator, and a compound+parallel IR fixture that drives the deep walkState/walkTransition branches (children, regions, invoke, entry/exit/done actions, assigns, composite guard expr).

Total coverage rises from 76.2% to 96.4%. No production code or go.mod changes; dep pins (state v1.0.0, gen v0.1.0) are untouched.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple joshua-temple merged commit 749ccd3 into main Jun 15, 2026
119 checks passed
@joshua-temple joshua-temple deleted the test/crucible-cli-coverage branch June 15, 2026 16:28
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