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

pantsbuild / pants / 25407839773
80%
main: 93%

Build:
Build:
LAST BUILD BRANCH: improve_uv
DEFAULT BRANCH: main
Ran 05 May 2026 11:45PM UTC
Jobs 12
Files 1729
Run time 2min
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

05 May 2026 11:25PM UTC coverage: 80.279%. First build
25407839773

push

github

web-flow
Fix jar-tool repacking for DEFLATED ZIP entries that use data descriptors (Cherry-pick of #23315) (#23317)

Fixes #23316 

## Summary

- fix jar-tool repacking for DEFLATED ZIP entries that use data
descriptors
- add a regression test covering the failing repack path

## Why

The old fast path copied raw compressed bytes by temporarily treating
DEFLATED entries as STORED and patching metadata afterward. That works
for ordinary entries, but it breaks when the source ZIP entry uses a
data descriptor, where size and CRC are finalized after the entry data
instead of being fully available in the local header.
In that case jar-tool could write inconsistent metadata and fail with
ZipException while building deploy jars. This change keeps the fast path
for normal DEFLATED entries, but falls back to safe copy/recompression
for data-descriptor entries.

Co-authored-by: Gregory Borodin <grihabor@gmail.com>

38 of 38 new or added lines in 1 file covered. (100.0%)

78844 of 98213 relevant lines covered (80.28%)

3.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_8/10 - 25407839773.1 05 May 2026 11:56PM UTC 1188
45.22
GitHub Action Run
2 test_python_linux_arm64 - 25407839773.2 05 May 2026 11:51PM UTC 1170
43.25
GitHub Action Run
3 test_python_linux_x86_64_4/10 - 25407839773.3 06 May 2026 12:01AM UTC 1219
49.76
GitHub Action Run
4 test_python_linux_x86_64_3/10 - 25407839773.4 05 May 2026 11:56PM UTC 1186
45.68
GitHub Action Run
5 test_python_linux_x86_64_6/10 - 25407839773.5 05 May 2026 11:51PM UTC 1183
40.79
GitHub Action Run
6 test_python_macos14_arm64 - 25407839773.6 05 May 2026 11:45PM UTC 1170
43.26
GitHub Action Run
7 test_python_linux_x86_64_5/10 - 25407839773.7 05 May 2026 11:48PM UTC 1201
49.14
GitHub Action Run
8 test_python_linux_x86_64_1/10 - 25407839773.8 05 May 2026 11:54PM UTC 1185
40.08
GitHub Action Run
9 test_python_linux_x86_64_2/10 - 25407839773.9 05 May 2026 11:51PM UTC 1189
46.75
GitHub Action Run
10 test_python_linux_x86_64_9/10 - 25407839773.10 05 May 2026 11:50PM UTC 1193
44.94
GitHub Action Run
11 test_python_linux_x86_64_7/10 - 25407839773.11 06 May 2026 12:00AM UTC 1192
42.55
GitHub Action Run
12 test_python_linux_x86_64_0/10 - 25407839773.12 05 May 2026 11:54PM UTC 1207
46.79
GitHub Action Run
Source Files on build 25407839773
  • Tree
  • List 1729
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25407839773
  • 797bde7c on github
  • Prev Build on 2.31.x (#24466190608)
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