• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / revdiff / 25236901080
90%

Build:
DEFAULT BRANCH: master
Ran 01 May 2026 11:04PM UTC
Jobs 1
Files 69
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 May 2026 11:03PM UTC coverage: 89.692% (-0.02%) from 89.715%
25236901080

push

github

web-flow
feat: `--compare=old:new` — two-file diff for rolling agent reviews (#163)

* feat: add --compare flag and validation to config

feat: implement CompareReader for git diff --no-index two-file diff

feat: wire --compare flag into main.go run() function

Switch renderer selection to a switch statement covering compare,
stdin, and VCS modes. CompareReader gets workDir from filepath.Dir
of the new path. commitsApplicable and compactApplicable already
handle CompareReader correctly without changes.

Also remove stale nolintlint directive in overlay/info.go.

chore: verify acceptance criteria for --compare flag

All acceptance criteria verified: diff between two files, identical-file
empty diff, compact mode with dividers, word-diff, and all mutual-exclusion
error cases. Full test suite passes (make test).

feat: use --compare in planning plugin for plan iteration diffs

After Claude revises an annotated plan, re-opening revdiff now shows
only what changed via --compare=prev:current instead of the full file.
First open uses --only as before. Pass --cleanup to discard the snapshot.

docs: add --compare flag to README, docs, and plugin usage reference

Document the two-file diff mode in all three locations: README (Options table,
Examples, new Two-File Diff section), site/docs.html (options table, examples,
new section), and the Claude plugin usage reference.

fix: address code review findings

- validateCompareFlag: reject --include and --exclude (silently ignored in compare mode)
- main.go: use filepath.Abs before filepath.Dir to avoid "project: ." in info overlay for relative paths
- compare.go: replace pre-allocated make+append slice with composite literal (removes wrong mnd comment)
- compare_test.go: use t.TempDir() paths instead of literal /tmp/ in TestCompareReader_ChangedFiles
- renderer_setup_test.go: add CompareReader case to TestCompactApplicable, --compare case to TestCommitsApplicable
- launch-plan-review.sh: guard PLAN_ABS cd against missing di... (continued)

111 of 140 new or added lines in 7 files covered. (79.29%)

9624 of 10730 relevant lines covered (89.69%)

3210.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
8.33
-0.19% app/main.go
11
84.29
app/diff/compare.go
6
87.23
app/compare.go
Jobs
ID Job ID Ran Files Coverage
1 25236901080.1 01 May 2026 11:04PM UTC 69
89.69
GitHub Action Run
Source Files on build 25236901080
  • Tree
  • List 69
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8c91398f on github
  • Prev Build on master (#25233880086)
  • Next Build on master (#25238603817)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc