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

pantsbuild / pants / 21414638008
80%

Build:
DEFAULT BRANCH: main
Ran 27 Jan 2026 09:32PM UTC
Jobs 12
Files 1728
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

27 Jan 2026 09:19PM UTC coverage: 80.269%. Remained the same
21414638008

push

github

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

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.

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

78764 of 98125 relevant lines covered (80.27%)

3.36 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_macos14_arm64 - 21414638008.1 27 Jan 2026 09:38PM UTC 1170
43.25
GitHub Action Run
2 test_python_linux_x86_64_4/10 - 21414638008.2 27 Jan 2026 09:38PM UTC 1219
49.76
GitHub Action Run
3 test_python_linux_x86_64_2/10 - 21414638008.3 27 Jan 2026 09:33PM UTC 1188
46.71
GitHub Action Run
4 test_python_linux_x86_64_8/10 - 21414638008.4 27 Jan 2026 09:38PM UTC 1188
45.21
GitHub Action Run
5 test_python_linux_x86_64_9/10 - 21414638008.5 27 Jan 2026 09:32PM UTC 1193
44.93
GitHub Action Run
6 test_python_linux_x86_64_3/10 - 21414638008.6 27 Jan 2026 09:33PM UTC 1186
45.67
GitHub Action Run
7 test_python_linux_x86_64_0/10 - 21414638008.7 27 Jan 2026 09:34PM UTC 1207
46.76
GitHub Action Run
8 test_python_linux_x86_64_1/10 - 21414638008.8 27 Jan 2026 09:33PM UTC 1185
40.08
GitHub Action Run
9 test_python_linux_arm64 - 21414638008.9 27 Jan 2026 09:33PM UTC 1170
43.24
GitHub Action Run
10 test_python_linux_x86_64_7/10 - 21414638008.10 27 Jan 2026 09:35PM UTC 1192
42.54
GitHub Action Run
11 test_python_linux_x86_64_6/10 - 21414638008.11 27 Jan 2026 09:32PM UTC 1183
40.78
GitHub Action Run
12 test_python_linux_x86_64_5/10 - 21414638008.12 27 Jan 2026 09:32PM UTC 1201
49.13
GitHub Action Run
Source Files on build 21414638008
  • Tree
  • List 1728
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21414638008
  • 8e9649b2 on github
  • Prev Build on main (#21317747139)
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