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

pantsbuild / pants / 25357472185
91%

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 04:24AM UTC
Jobs 12
Files 1735
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

05 May 2026 04:13AM UTC coverage: 92.941% (-0.02%) from 92.956%
25357472185

push

github

web-flow
Better change detection on deleted files (#23311)

There are several longstanding issues on this:

https://github.com/pantsbuild/pants/issues/13232
https://github.com/pantsbuild/pants/issues/14975
https://github.com/pantsbuild/pants/issues/17512
https://github.com/pantsbuild/pants/issues/23240

This has historically been intractable because the
design of dep inference and of change detection
are at odds with each other.

A fully robust solution is still somewhat out of reach,
but this change provides a general-purpose mechanism
that backends can opt in to, and uses that mechanism
in the python backend.

The result is a substantial yet incremental improvement
in the most prominent use case.

The limitation of this mechanism is that it can only
be used if a backend can infer a likely dependency on
a file simply from its path. In Python this is possible because
dotted module paths must recapitulate the filesystem path
from the source root. But this is not true in general for
all languages.

56 of 78 new or added lines in 8 files covered. (71.79%)

4 existing lines in 3 files now uncovered.

91907 of 98887 relevant lines covered (92.94%)

4.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
72.83
-0.79% src/python/pants/vcs/changed.py
8
94.67
-3.15% src/python/pants/backend/python/dependency_inference/rules.py
2
96.53
-0.71% src/python/pants/engine/internals/build_files.py
2
43.86
0.22% src/python/pants/init/specs_calculator.py
1
97.27
-0.84% src/python/pants/engine/internals/mapper.py

Coverage Regressions

Lines Coverage ∆ File
2
72.83
-0.79% src/python/pants/vcs/changed.py
1
96.15
-3.85% src/python/pants/backend/tools/preamble/subsystem.py
1
43.86
0.22% src/python/pants/init/specs_calculator.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_4/10 - 25357472185.1 05 May 2026 04:32AM UTC 1225
59.51
GitHub Action Run
2 test_python_linux_x86_64_9/10 - 25357472185.2 05 May 2026 04:26AM UTC 1201
53.92
GitHub Action Run
3 test_python_linux_x86_64_6/10 - 25357472185.3 05 May 2026 04:25AM UTC 1186
49.53
GitHub Action Run
4 test_python_macos14_arm64 - 25357472185.4 05 May 2026 04:24AM UTC 1174
52.38
GitHub Action Run
5 test_python_linux_x86_64_0/10 - 25357472185.5 05 May 2026 04:29AM UTC 1210
56.79
GitHub Action Run
6 test_python_linux_x86_64_5/10 - 25357472185.6 05 May 2026 04:26AM UTC 1205
59.69
GitHub Action Run
7 test_python_linux_x86_64_8/10 - 25357472185.7 05 May 2026 04:30AM UTC 1193
53.55
GitHub Action Run
8 test_python_linux_x86_64_3/10 - 25357472185.8 05 May 2026 04:30AM UTC 1190
53.85
GitHub Action Run
9 test_python_linux_x86_64_2/10 - 25357472185.9 05 May 2026 04:26AM UTC 1192
58.68
GitHub Action Run
10 test_python_linux_arm64 - 25357472185.10 05 May 2026 04:29AM UTC 1174
52.38
GitHub Action Run
11 test_python_linux_x86_64_7/10 - 25357472185.11 05 May 2026 04:33AM UTC 1196
51.32
GitHub Action Run
12 test_python_linux_x86_64_1/10 - 25357472185.12 05 May 2026 04:29AM UTC 1189
49.21
GitHub Action Run
Source Files on build 25357472185
  • Tree
  • List 1735
  • Changed 10
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25357472185
  • 2b29da0b on github
  • Prev Build on main (#25301964388)
  • Next Build on main (#25400041888)
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