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

pantsbuild / pants / 29201948407
93%

Build:
DEFAULT BRANCH: main
Ran 12 Jul 2026 05:35PM UTC
Jobs 11
Files 1771
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

12 Jul 2026 05:24PM UTC coverage: 92.971%. Remained the same
29201948407

push

github

web-flow
Don't invalidate BUILD files on comment/whitespace changes (#23480)

Currently, `pants --changed-since` unnecessarily invalidates all targets
within a `BUILD` file when only whitespace or unrelated comment lines
are modified. The system falls back to a blanket invalidation because it
assumes the entire file's structural integrity changed.

### Solution
When `--changed-since` interacts with the SCM, it already populates
`sources_blocks` with the precise modified lines. However, the fallback
condition in `find_owners` was still applying a blanket invalidation to
all targets in the modified `BUILD` file, ignoring this block-level
precision.

This PR adds a guard to skip this blanket invalidation if
`sources_blocks` are available for the file, allowing `block_owners` to
correctly filter only the affected targets natively.

2 of 3 new or added lines in 2 files covered. (66.67%)

1 existing line in 1 file now uncovered.

94540 of 101688 relevant lines covered (92.97%)

3.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.64
-0.14% src/python/pants/engine/internals/graph.py

Coverage Regressions

Lines Coverage ∆ File
1
92.64
-0.14% src/python/pants/engine/internals/graph.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_4/10 - 29201948407.1 12 Jul 2026 05:42PM UTC 1241
59.0
GitHub Action Run
2 test_python_linux_x86_64_9/10 - 29201948407.2 12 Jul 2026 05:39PM UTC 1221
53.95
GitHub Action Run
3 test_python_linux_x86_64_3/10 - 29201948407.3 12 Jul 2026 05:39PM UTC 1209
52.37
GitHub Action Run
4 test_python_linux_x86_64_6/10 - 29201948407.4 12 Jul 2026 05:37PM UTC 1206
49.7
GitHub Action Run
5 test_python_linux_x86_64_1/10 - 29201948407.5 12 Jul 2026 05:38PM UTC 1210
48.88
GitHub Action Run
6 test_python_linux_x86_64_7/10 - 29201948407.6 12 Jul 2026 05:42PM UTC 1212
50.85
GitHub Action Run
7 test_python_linux_x86_64_5/10 - 29201948407.7 12 Jul 2026 05:37PM UTC 1224
59.94
GitHub Action Run
8 test_python_linux_x86_64_8/10 - 29201948407.8 12 Jul 2026 05:40PM UTC 1210
52.88
GitHub Action Run
9 test_python_linux_x86_64_2/10 - 29201948407.9 12 Jul 2026 05:37PM UTC 1211
58.65
GitHub Action Run
10 test_python_linux_x86_64_0/10 - 29201948407.10 12 Jul 2026 05:39PM UTC 1231
57.4
GitHub Action Run
11 test_python_linux_arm64 - 29201948407.11 12 Jul 2026 05:35PM UTC 1190
51.78
GitHub Action Run
Source Files on build 29201948407
  • Tree
  • List 1771
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29201948407
  • bf408751 on github
  • Prev Build on main (#29200360293)
  • Next Build on main (#29261418526)
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