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

umputun / revdiff / 24939101884
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 25 Apr 2026 07:44PM UTC
Jobs 1
Files 61
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

25 Apr 2026 05:46PM UTC coverage: 89.532% (+0.09%) from 89.446%
24939101884

Pull #151

github

umputun
fix(review-loop): iteration 3 addressed 10 findings

- [critical] [app/ui/view.go] apply sanitizeFilenameForDisplay to status-bar
  filename segments (statusBarText, statusSegmentsNoSearch,
  statusSegmentsMinimal). previously the sanitizer was scoped to the diff
  header only — a crafted filename with newline/ESC could still break or
  spoof the bottom-of-screen layout
- [major] [app/ui/view.go] extend sanitizeFilenameForDisplay to strip
  Unicode bidi/format controls (RTL/LTR overrides U+202A–U+202E, isolates
  U+2066–U+2069, ZWJ/ZWNJ/ZWSP U+200B–U+200D, BOM U+FEFF) — defense in
  depth against filename spoofing
- [code-quality] [app/ui/view.go] convert sanitizeFilenameForDisplay and
  truncateLeftToWidth from package-level functions to Model methods, per
  project rule preferring methods over standalone helpers
- [code-quality] [app/ui/view.go] pass diffPaneW into renderTwoPaneLayout
  instead of re-deriving the formula inline — single source of truth so a
  future change to one side cannot drift from the other
- [code-quality] [app/ui/view.go] simplify truncateHeaderTitle: paneW<=1
  now delegates to truncateLeftToWidth instead of mirroring its boundary
  cases inline
- [test] [app/ui/scrollbar_test.go] strengthen
  TestApplyScrollbar_SafeWhenLinesShorterThanExpected with Equal+NotContains
  assertions (was only asserting line count preserved, would have passed
  with a thumb mistakenly applied)
- [test] [app/ui/scrollbar_test.go] add bidi/format char cases to
  TestSanitizeFilenameForDisplay (RTL override, LRI, PDI, ZWJ, ZWSP, BOM)
- [test] [app/ui/view_test.go] add TestModel_StatusBarSanitizesFilename
  regression covering newline/CR/tab/ESC/RTL/BOM in the status bar
Pull Request #151: feat(ui): vertical scrollbar thumb on diff pane right border

120 of 121 new or added lines in 2 files covered. (99.17%)

8527 of 9524 relevant lines covered (89.53%)

549.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.5
app/ui/scrollbar.go
Jobs
ID Job ID Ran Files Coverage
1 24939101884.1 25 Apr 2026 07:44PM UTC 61
89.53
GitHub Action Run
Source Files on build 24939101884
  • Tree
  • List 61
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #151
  • PR Base - master (#24927364140)
  • 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