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

pantsbuild / pants / 21464747587
70%
main: 80%

Build:
Build:
LAST BUILD BRANCH: csb/grpc-alt
DEFAULT BRANCH: main
Ran 29 Jan 2026 03:53AM UTC
Jobs 12
Files 1715
Run time 3min
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: 80.282%. Remained the same
21464747587

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>

0 of 2 new or added lines in 1 file covered. (0.0%)

77971 of 97122 relevant lines covered (80.28%)

3.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
61.17
0.0% src/python/pants/jvm/jdk_rules.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_arm64 - 21464747587.1 29 Jan 2026 04:09AM UTC 1160
43.21
GitHub Action Run
2 test_python_linux_x86_64_2/10 - 21464747587.2 29 Jan 2026 03:54AM UTC 1178
46.93
GitHub Action Run
3 test_python_linux_x86_64_9/10 - 21464747587.3 29 Jan 2026 03:54AM UTC 1183
45.09
GitHub Action Run
4 test_python_linux_x86_64_8/10 - 21464747587.4 29 Jan 2026 03:59AM UTC 1178
45.45
GitHub Action Run
5 test_python_linux_x86_64_1/10 - 21464747587.5 29 Jan 2026 03:55AM UTC 1175
40.18
GitHub Action Run
6 test_python_linux_x86_64_7/10 - 21464747587.6 29 Jan 2026 03:58AM UTC 1182
42.7
GitHub Action Run
7 test_python_linux_x86_64_3/10 - 21464747587.7 29 Jan 2026 03:54AM UTC 1175
45.65
GitHub Action Run
8 test_python_linux_x86_64_5/10 - 21464747587.8 29 Jan 2026 03:56AM UTC 1192
48.15
GitHub Action Run
9 test_python_linux_x86_64_0/10 - 21464747587.9 29 Jan 2026 03:56AM UTC 1196
45.53
GitHub Action Run
10 test_python_linux_x86_64_6/10 - 21464747587.10 29 Jan 2026 03:53AM UTC 1172
40.74
GitHub Action Run
11 test_python_macos14_arm64 - 21464747587.11 29 Jan 2026 04:01AM UTC 1160
43.22
GitHub Action Run
12 test_python_linux_x86_64_4/10 - 21464747587.12 29 Jan 2026 04:01AM UTC 1208
49.94
GitHub Action Run
Source Files on build 21464747587
  • Tree
  • List 1715
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21464747587
  • 0329055d on github
  • Prev Build on 2.30.x (#21439963908)
  • Next Build on 2.30.x (#21832085155)
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