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

umputun / revdiff / 24939076071
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.1
DEFAULT BRANCH: master
Ran 25 Apr 2026 07:43PM 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%. First build
24939076071

push

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

31 of 31 new or added lines in 1 file covered. (100.0%)

8527 of 9524 relevant lines covered (89.53%)

549.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24939076071.1 25 Apr 2026 07:43PM UTC 61
89.53
GitHub Action Run
Source Files on build 24939076071
  • Tree
  • List 61
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f69efa25 on github
  • Next Build on feat/scrollbar-thumb (#24939288252)
  • 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