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

pantsbuild / pants / 29717590758 / 7
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: multiplatform_pex_with_uv
DEFAULT BRANCH: main
Ran 20 Jul 2026 04:58AM UTC
Files 1210
Run time 33s
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: 48.9% (-0.003%) from 48.903%
29717590758.7

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>

30486 of 62344 relevant lines covered (48.9%)

0.49 hits per line

Source Files on job test_python_linux_x86_64_1/10 - 29717590758.7
  • Tree
  • List 1210
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29717590758
  • 960cec01 on github
  • Prev Job for on 2.33.x (#29461827266.10)
  • Next Job for on 2.33.x (#30204424604.8)
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