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

umputun / revdiff / 25685448594 / 1
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: feat/relay-overlay-stderr
DEFAULT BRANCH: master
Ran 11 May 2026 05:14PM UTC
Files 69
Run time 3s
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

11 May 2026 05:13PM UTC coverage: 89.764% (+0.06%) from 89.703%
25685448594.1

Pull #180

github

umputun
fix(wheel): skip redundant render in flushWheelPending when cursor stays in view

Copilot review on #180 caught that flushWheelPending unconditionally re-renders even when pinDiffCursorTo returns false (cursor stayed visible through the burst). In that case the existing viewport content already has the correct cursor highlight, so SetContent(renderDiff()) is wasted work — and on the handleKey path it double-renders because the key handler will also render after its action runs.

Gate syncTOCActiveSection + SetContent on the pin's bool return. Always clear renderPending and tickInFlight either way. Also dropped a redundant tickInFlight=false in handleWheelDebounce — flushWheelPending already clears it.

New test TestModel_HandleMouse_WheelDebounceMsg_SkipsRenderWhenCursorStaysInView locks in the contract: a flush with cursor still in view must not change viewport.View().
Pull Request #180: fix: coalesce diff-pane wheel events to unblock reverse scroll (#179)

9752 of 10864 relevant lines covered (89.76%)

3193.43 hits per line

Source Files on job 25685448594.1
  • Tree
  • List 69
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25685448594
  • da60558f on github
  • Prev Job for on fix-wheel-scroll-coalesce (#25653219672.1)
  • Next Job for on fix-wheel-scroll-coalesce (#25685701031.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc