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

pantsbuild / pants / 29201948407 / 9
93%
main: 93%

Build:
DEFAULT BRANCH: main
Ran 12 Jul 2026 05:43PM UTC
Files 1211
Run time 47s
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: 58.65% (+0.001%) from 58.649%
29201948407.9

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.

36522 of 62271 relevant lines covered (58.65%)

0.59 hits per line

Source Files on job test_python_linux_x86_64_2/10 - 29201948407.9
  • Tree
  • List 1211
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29201948407
  • bf408751 on github
  • Prev Job for on main (#29200360293.8)
  • Next Job for on main (#29261418526.1)
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