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

jedib0t / go-pretty / 26110093750
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: fix-405
DEFAULT BRANCH: main
Ran 19 May 2026 04:17PM UTC
Jobs 1
Files 44
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

19 May 2026 04:16PM UTC coverage: 100.0%. Remained the same
26110093750

Pull #406

github

jedib0t
progress: fix speed decay on done trackers and log overwrite; fixes #405

1. Per-tracker speed for a done tracker decayed toward zero on every
subsequent render tick. Done trackers are now repainted each cycle
(previously they were painted once at the active->done transition),
but renderTrackerStatsSpeed still used time.Since(timeStart) as the
denominator. Use timeStop-timeStart for done trackers, matching
renderTrackerStatsTime.

2. Log messages were overwritten by a stale tracker render on the next
tick. Logs were emitted between the tracker block and pinned messages
but were not counted by moveCursorToTheTop, leaving the cursor rewind
short by len(logs) lines so trackers re-painted on top of the log
row. Emit logs above the rewindable region instead, so they sit as
permanent scrollback (the pre-v6.7.8 layout).

Also consolidates timeStart/timeStop/done access into a single
timeStartStopAndDone() helper so callers see a consistent snapshot — the
previous two-call pattern could observe timeStop=zero with done=true
during an active->done transition, producing a negative duration.
Pull Request #406: progress: fix speed decay on done trackers and log overwrite; fixes #405

92 of 92 new or added lines in 2 files covered. (100.0%)

4889 of 4889 relevant lines covered (100.0%)

1.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26110093750.1 19 May 2026 04:17PM UTC 44
100.0
GitHub Action Run
Source Files on build 26110093750
  • Tree
  • List 44
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #406
  • PR Base - main (#25200061560)
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