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

pantsbuild / pants / 21464747587 / 6
70%
main: 80%

Build:
Build:
LAST BUILD BRANCH: csb/grpc-alt
DEFAULT BRANCH: main
Ran 29 Jan 2026 04:09AM UTC
Files 1182
Run time 28s
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

29 Jan 2026 03:41AM UTC coverage: 42.699%. Remained the same
21464747587.6

push

github

web-flow
Fix non-deterministic JDK preparation script causing cache misses (Cherry-pick of #23036) (#23042)

The JDK preparation script (`jdk.sh`) embeds the output of `java
-version` as a comment. However, when Coursier downloads the JDK, it
outputs progress messages to stderr which get mixed with the actual
`java -version` output.

These progress messages are non-deterministic (contain timing info like
"Still downloading", "Downloaded", etc.) which causes the script content
to vary between runs, resulting in different cache keys for all JVM
compilation tasks.

This fix filters out Coursier download progress messages from the
captured stderr, keeping only the actual `java -version` output lines.

Impact: In testing, this reduced cache misses from 92% to 0.09% for JVM
builds across runs.

Co-authored-by: Shaked Kaplan <102214568+kaplan-shaked@users.noreply.github.com>

26461 of 61971 relevant lines covered (42.7%)

0.43 hits per line

Source Files on job test_python_linux_x86_64_7/10 - 21464747587.6
  • Tree
  • List 1182
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21464747587
  • 0329055d on github
  • Prev Job for on 2.30.x (#21439963908.7)
  • Next Job for on 2.30.x (#21832085155.5)
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