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

pantsbuild / pants / 29717590758
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: multiplatform_pex_with_uv
DEFAULT BRANCH: main
Ran 20 Jul 2026 04:55AM UTC
Jobs 11
Files 1773
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

20 Jul 2026 04:44AM UTC coverage: 92.951% (-0.001%) from 92.952%
29717590758

push

github

web-flow
A pants_lock binary. (Cherry-pick of #23530) (#23560)

This is a vastly simplified version of the flock(1) Linux binary 
(which alas is not available on macOS, or we would simply use it).

It takes a file descriptor inherited from its parent process and blocks
until it can acquire a fcntl lock.

This PR consists of:

1. The plumbing for building the binary, embedding it in the pants
    dist and extracting it for execution.
2. The pants_lock functionality.
3. Tests for the above.

A follow up change will use this binary in the uv integration.

Co-authored-by: Benjy Weinberger <benjyw@gmail.com>

67 of 79 new or added lines in 5 files covered. (84.81%)

79 existing lines in 2 files now uncovered.

94507 of 101674 relevant lines covered (92.95%)

3.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
90.01
-0.69% src/python/pants/core/util_rules/system_binaries.py
2
0.0
0.0% src/python/pants/bin/pants_loader.py
2
95.83
src/python/pants/engine/pants_lock_test.py
1
88.89
src/python/pants/engine/embedded_binary.py
1
85.71
src/python/pants/engine/pants_lock.py

Coverage Regressions

Lines Coverage ∆ File
52
90.01
-0.69% src/python/pants/core/util_rules/system_binaries.py
27
0.0
0.0% src/python/pants/bin/pants_loader.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_4/10 - 29717590758.1 20 Jul 2026 04:56AM UTC 1241
58.97
GitHub Action Run
2 test_python_linux_x86_64_7/10 - 29717590758.2 20 Jul 2026 04:56AM UTC 1212
50.84
GitHub Action Run
3 test_python_linux_x86_64_8/10 - 29717590758.3 20 Jul 2026 04:56AM UTC 1210
52.91
GitHub Action Run
4 test_python_linux_x86_64_2/10 - 29717590758.4 20 Jul 2026 04:56AM UTC 1211
58.66
GitHub Action Run
5 test_python_linux_x86_64_6/10 - 29717590758.5 20 Jul 2026 04:56AM UTC 1206
49.75
GitHub Action Run
6 test_python_linux_arm64 - 29717590758.6 20 Jul 2026 04:55AM UTC 1190
51.82
GitHub Action Run
7 test_python_linux_x86_64_1/10 - 29717590758.7 20 Jul 2026 04:56AM UTC 1210
48.9
GitHub Action Run
8 test_python_linux_x86_64_9/10 - 29717590758.8 20 Jul 2026 04:56AM UTC 1221
54.06
GitHub Action Run
9 test_python_linux_x86_64_3/10 - 29717590758.9 20 Jul 2026 04:56AM UTC 1209
53.71
GitHub Action Run
10 test_python_linux_x86_64_0/10 - 29717590758.10 20 Jul 2026 04:56AM UTC 1231
57.36
GitHub Action Run
11 test_python_linux_x86_64_5/10 - 29717590758.11 20 Jul 2026 04:56AM UTC 1226
60.09
GitHub Action Run
Source Files on build 29717590758
  • Tree
  • List 1773
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29717590758
  • 960cec01 on github
  • Prev Build on 2.33.x (#29461827266)
  • Next Build on 2.33.x (#30204424604)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc