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

umputun / revdiff / 25018428376
90%

Build:
DEFAULT BRANCH: master
Ran 27 Apr 2026 08:42PM UTC
Jobs 1
Files 66
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

27 Apr 2026 08:41PM UTC coverage: 89.622% (+0.02%) from 89.602%
25018428376

push

github

web-flow
feat: review info popup (i) with --description and aggregate stats (#155)

* feat(diff,review): CommitLogger capability and review stats package

- Add CommitLogger optional capability to diff.Renderer surface so VCS
  backends (git/hg/jj) can enumerate commits in a ref range; consumers
  type-assert and gracefully fall back when unavailable.
- Define CommitInfo with pre-sanitized Author/Subject/Body fields and a
  MaxCommits cap; add splitCommitDesc helper so all VCS parsers expose a
  uniform subject/body pair.
- Export SanitizeCommitText (renamed from unexported helper) so the same
  ANSI/CSI/C0/DEL/C1/invalid-UTF-8 strip path serves commit metadata,
  description prose, and overlay detail rows.
- Add CountChanges helper and FileEntryPaths to keep stats counting and
  path extraction in one place.
- Introduce app/review package with ComputeStats / FileDiffer interface
  and safeWorkDirPath validation for untracked-file reads. Validation is
  best-effort lexical+symlink check against a non-racing filesystem;
  TOCTOU window between Stat and the later Open is documented.

* feat(ui,cli): unified info popup (i) with description, scope, and commit log

User-facing info overlay reachable via the i key, replacing the prior
commit-only popup with a richer review-info surface.

CLI:
- --description / --description-file populate a markdown description
  section inside the popup. File reads cap at 256 KB via io.LimitReader,
  reject non-regular targets (FIFOs, devices, dirs), and route through
  the shared SanitizeCommitText strip path. The two flags are mutually
  exclusive at parse time.

Keymap:
- Rename ActionCommitInfo to ActionInfo. Pre-rename keybinding files
  using "commit_info" still load: the parser accepts the deprecated
  alias, rewrites it to the canonical action, and emits a one-time WARN.

UI:
- New app/ui/overlay/info.go renders the unified popup: description
  prose (chroma-highlighted once at NewModel time), invocation scope
  rows, file/s... (continued)

848 of 933 new or added lines in 20 files covered. (90.89%)

9309 of 10387 relevant lines covered (89.62%)

505.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
23
89.45
app/ui/reviewinfo.go
18
8.96
-0.49% app/main.go
14
96.01
app/ui/overlay/info.go
7
92.18
-2.13% app/ui/overlay/overlay.go
6
93.33
app/review/stats.go
6
92.08
-0.97% app/ui/model.go
4
93.22
app/reviewinfo.go
3
51.19
0.0% app/renderer_setup.go
2
96.47
-0.37% app/keymap/keymap.go
2
88.12
0.3% app/ui/loaders.go
Jobs
ID Job ID Ran Files Coverage
1 25018428376.1 27 Apr 2026 08:42PM UTC 66
89.62
GitHub Action Run
Source Files on build 25018428376
  • Tree
  • List 66
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8645569c on github
  • Prev Build on master (#25012247360)
  • Next Build on master (#25018668789)
  • 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