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

pantsbuild / pants / 24036376966 / 2
93%
main: 93%

Build:
DEFAULT BRANCH: main
Ran 06 Apr 2026 03:14PM UTC
Files 1200
Run time 36s
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

06 Apr 2026 02:44PM UTC coverage: 53.897% (-0.001%) from 53.898%
24036376966.2

push

github

web-flow
reduce workunit terminal display to one decimal (#23215)

Currently we have a render rate of 10 Hz

<https://github.com/pantsbuild/pants/blob/9b3c1562e/src/rust/ui/src/lib.rs#L38>
but try to display out to two decimal places. This results in some
awkward displays where the last digit will look stuck -- 1.25 --> 1.35
--> 1.45 -- until some jitter aligns it to a new digit for a bit. Since
this is just for a visual display and humans can't actually count that
fast, I think it's fine to show one digit after the decimal. This is the
granularity of `docker` for example.

Before:
https://github.com/user-attachments/assets/c8ab5bf5-3336-44f2-ba14-76b887160715

After:
https://github.com/user-attachments/assets/73b18e94-9097-49c9-a493-3e748ad5ccb2

An alternative approach would be to render at 100 Hz, but I don't think
displaying the digit just to "look cool" is worth becoming terminal
performance experts.

Disclosure: Claude connected the
`render_interval`/`render_rate_hz`/`render` math together, and made the
change.

33353 of 61883 relevant lines covered (53.9%)

0.54 hits per line

Source Files on job test_python_linux_x86_64_9/10 - 24036376966.2
  • Tree
  • List 1200
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24036376966
  • 6b89a798 on github
  • Prev Job for on main (#23967076041.1)
  • Next Job for on main (#24043980006.1)
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