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

pantsbuild / pants / 41268032730
93%

Build:
DEFAULT BRANCH: main
Ran 01 Nov 2026 03:18AM UTC
Jobs 11
Files 1800
Run time 1min
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

01 Nov 2026 03:09AM UTC coverage: 93.069%. Remained the same
41268032730

push

github

web-flow
perf(engine): Parse Each BUILD Directory Once (#23741)

`parse_address_family` is requested for a directory's own targets, and
again by each of its subdirectories, which inherit the directory's
`__defaults__` and dependency rules. Two of those lookups passed
`AddressFamilyDir` positionally: the parent-directory lookup in
`parse_address_family` itself, and the lookup of the BUILD files that
declare dependency rules. Every other caller passes it through
`**implicitly(...)`.

A `Task` node's identity is its params plus its positional arguments
(`src/rust/engine/src/nodes/task.rs`), so the two forms were separate
memo entries for the same directory, and most directories were parsed
twice. The engine can't merge them in general, because a param also
reaches the rules the callee calls, while a positional argument doesn't.
Both call sites now use `**implicitly(...)`.

The root's BUILD files are still parsed twice, because the parent lookup
spells the root `.` while `Address.spec_path` spells it `""`. The parent
lookup can't use `""`, because that's
`SyntheticTargetsRequest.SINGLE_REQUEST_FOR_ALL_TARGETS`.

Disclosure: investigated and implemented with Claude.

10 of 10 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

97902 of 105193 relevant lines covered (93.07%)

3.65 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
96.15
-3.85% src/python/pants/backend/tools/preamble/subsystem.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_7/10 - 41268032730.1 01 Nov 2026 03:25AM UTC 1228
50.89
GitHub Action Run
2 test_python_linux_x86_64_8/10 - 41268032730.2 01 Nov 2026 03:24AM UTC 1228
53.19
GitHub Action Run
3 test_python_linux_x86_64_4/10 - 41268032730.3 01 Nov 2026 03:24AM UTC 1254
58.85
GitHub Action Run
4 test_python_linux_x86_64_0/10 - 41268032730.4 01 Nov 2026 03:23AM UTC 1245
56.86
GitHub Action Run
5 test_python_linux_x86_64_1/10 - 41268032730.5 01 Nov 2026 03:21AM UTC 1224
48.69
GitHub Action Run
6 test_python_linux_x86_64_9/10 - 41268032730.6 01 Nov 2026 03:20AM UTC 1235
54.38
GitHub Action Run
7 test_python_linux_x86_64_3/10 - 41268032730.7 01 Nov 2026 03:22AM UTC 1223
51.87
GitHub Action Run
8 test_python_linux_x86_64_2/10 - 41268032730.8 01 Nov 2026 03:22AM UTC 1225
59.03
GitHub Action Run
9 test_python_linux_x86_64_5/10 - 41268032730.9 01 Nov 2026 03:20AM UTC 1240
60.17
GitHub Action Run
10 test_python_linux_x86_64_6/10 - 41268032730.10 01 Nov 2026 03:20AM UTC 1221
49.66
GitHub Action Run
11 test_python_linux_arm64 - 41268032730.11 01 Nov 2026 03:18AM UTC 1210
53.14
GitHub Action Run
Source Files on build 41268032730
  • Tree
  • List 1800
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41268032730
  • 2c68b5d7 on github
  • Prev Build on main (#41124663765)
  • Next Build on main (#41328388216)
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