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

pantsbuild / pants / 38791754244
93%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2026 07:26PM UTC
Jobs 11
Files 1785
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

15 Oct 2026 07:10PM UTC coverage: 92.951%. Remained the same
38791754244

push

github

web-flow
Skip the Pragma Lookup in Files Without One (#23702)

For every string literal that could be a string import candidate, the
Rust import parser (`ImportCollector::handle_string_candidate`) looks
for a trailing `# pants: no-infer-dep` comment by climbing the syntax
tree with `Node::parent()` and `Node::next_named_sibling()`. In
tree-sitter both are linear in the number of siblings, so a long module
pays a lot for each string. The same lookup runs after every import
statement and `__import__` call (`is_pragma_ignored`).

A file that does not contain the text `# pants: no-infer-dep` cannot
have such a comment. This checks that once per file, when the collector
is created, and returns early from both lookups when the text is absent.
The result is unchanged.

Disclosure: investigated and implemented with claude.

96423 of 103735 relevant lines covered (92.95%)

3.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_1/10 - 38791754244.1 15 Oct 2026 07:35PM UTC 1216
48.83
GitHub Action Run
2 test_python_linux_x86_64_8/10 - 38791754244.2 15 Oct 2026 07:33PM UTC 1215
52.64
GitHub Action Run
3 test_python_linux_x86_64_7/10 - 38791754244.3 15 Oct 2026 07:35PM UTC 1220
50.85
GitHub Action Run
4 test_python_linux_x86_64_0/10 - 38791754244.4 15 Oct 2026 07:34PM UTC 1237
57.36
GitHub Action Run
5 test_python_linux_x86_64_3/10 - 38791754244.5 15 Oct 2026 07:32PM UTC 1215
52.27
GitHub Action Run
6 test_python_linux_x86_64_4/10 - 38791754244.6 15 Oct 2026 07:34PM UTC 1246
59.02
GitHub Action Run
7 test_python_linux_x86_64_5/10 - 38791754244.7 15 Oct 2026 07:30PM UTC 1232
60.31
GitHub Action Run
8 test_python_linux_x86_64_9/10 - 38791754244.8 15 Oct 2026 07:32PM UTC 1226
53.95
GitHub Action Run
9 test_python_linux_x86_64_6/10 - 38791754244.9 15 Oct 2026 07:30PM UTC 1213
50.08
GitHub Action Run
10 test_python_linux_x86_64_2/10 - 38791754244.10 15 Oct 2026 07:30PM UTC 1216
58.48
GitHub Action Run
11 test_python_linux_arm64 - 38791754244.11 15 Oct 2026 07:26PM UTC 1197
52.6
GitHub Action Run
Source Files on build 38791754244
  • Tree
  • List 1785
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38791754244
  • d91c51a1 on github
  • Prev Build on main (#38640865803)
  • Next Build on main (#38837891755)
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