Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 10:44
· 207 commits to main since this release

Note

First release. This entry was written after the release.

Added

  • sundgren run: runs a coverage command on the base tree and on the patched tree (git worktrees), diffs the two lcov files with line numbers mapped through the patch, and reports what the patch did to lines, branches, functions and test outcomes.
  • sundgren diff for two existing lcov files, sundgren ingest (a normalized lcov snapshot as JSON) and sundgren presets.
  • Built-in presets pytest (coverage.py + pytest, selecting the test files the patch touches), cargo-llvm-cov and cargo-tarpaulin. Custom presets go in sundgren.toml or [tool.sundgren.presets]; any tool that writes lcov works through --cmd and --lcov.
  • JSON report with schema sundgren.delta/1: line categories (lost, gained, new_hit, ...), branch categories, function status (went_dark, lit_up, ...), JUnit test outcomes, a per-directory tree rollup and warnings. --format text prints a summary.
  • --repeat N reports lines whose status varies across runs as flaky. --full keeps unchanged entries, --counts adds hit-count changes.
  • Exit codes: 0 ok, 1 tool or run failure, 2 usage error, 3 patch doesn't apply.