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

pantsbuild / pants / 25401284162
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix/js-workspace-member-node-modules
DEFAULT BRANCH: main
Ran 05 May 2026 08:50PM UTC
Jobs 12
Files 1736
Run time 4min
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

pending completion
25401284162

push

github

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

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%)

1 existing line in 1 file now uncovered.

91804 of 98809 relevant lines covered (92.91%)

3.72 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
93.53
-0.43% src/python/pants/backend/python/providers/python_build_standalone/rules.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_macos14_arm64 - 25401284162.1 05 May 2026 08:58PM UTC 1174
52.39
GitHub Action Run
2 test_python_linux_x86_64_4/10 - 25401284162.2 05 May 2026 08:50PM UTC 1225
59.42
GitHub Action Run
3 test_python_linux_x86_64_1/10 - 25401284162.3 05 May 2026 08:50PM UTC 1189
49.2
GitHub Action Run
4 test_python_linux_x86_64_2/10 - 25401284162.4 05 May 2026 08:50PM UTC 1193
58.71
GitHub Action Run
5 test_python_linux_x86_64_7/10 - 25401284162.5 05 May 2026 08:50PM UTC 1196
51.32
GitHub Action Run
6 test_python_linux_x86_64_0/10 - 25401284162.6 05 May 2026 08:50PM UTC 1210
56.81
GitHub Action Run
7 test_python_linux_x86_64_8/10 - 25401284162.7 05 May 2026 08:50PM UTC 1193
53.62
GitHub Action Run
8 test_python_linux_x86_64_5/10 - 25401284162.8 05 May 2026 08:50PM UTC 1205
59.72
GitHub Action Run
9 test_python_linux_x86_64_9/10 - 25401284162.9 05 May 2026 08:50PM UTC 1201
53.93
GitHub Action Run
10 test_python_linux_x86_64_3/10 - 25401284162.10 05 May 2026 08:50PM UTC 1190
53.94
GitHub Action Run
11 test_python_linux_x86_64_6/10 - 25401284162.11 05 May 2026 08:51PM UTC 1186
49.55
GitHub Action Run
12 test_python_linux_arm64 - 25401284162.12 05 May 2026 09:14PM UTC 1174
52.38
GitHub Action Run
Source Files on build 25401284162
  • Tree
  • List 1736
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25401284162
  • 736246ca on github
  • Prev Build on 2.32.x (#25359649915)
  • Next Build on 2.32.x (#25416762044)
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