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

pantsbuild / pants / 19256696112
80%
main: 80%

Build:
Build:
LAST BUILD BRANCH: gha-deps
DEFAULT BRANCH: main
Ran 11 Nov 2025 06:30AM UTC
Jobs 12
Files 1715
Run time 4min
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

11 Nov 2025 06:07AM UTC coverage: 80.279% (-0.005%) from 80.284%
19256696112

push

github

web-flow
flag non-runnable targets used with `code_quality_tool` (Cherry-pick of #22875) (#22876)

Raise an exception when a non-runnable target is set as the `runnable`
for `code_quality_tool` (and other similar uses). Otherise, the user
sees an obtuse `IndexError`.

Before:

```
IndexError: tuple index out of range
```

After:

```
pants.engine.target.InvalidFieldException: The `runnable` field in target `pants-macros:gofmt_tool` must be set to the address of a target which can be run by the `run` goal. Instead, the `runnable` field is set to `:gofmt` which refers to the `adhoc_tool` target at `pants-macros:gofmt` that cannot be run by the `run` goal.
```

This particular error arose while I was trying to run `gofmt` as a
`code_quality_tool`.

Co-authored-by: Tom Dyas <tom@shoalsoftware.com>

2 of 5 new or added lines in 2 files covered. (40.0%)

4 existing lines in 3 files now uncovered.

77969 of 97122 relevant lines covered (80.28%)

3.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
38.42
-0.04% src/python/pants/core/util_rules/adhoc_process_support.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
38.42
-0.04% src/python/pants/core/util_rules/adhoc_process_support.py
1
34.97
-0.16% src/python/pants/engine/internals/graph.py
2
87.69
-3.08% src/python/pants/pantsd/lock_test.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_4/10 - 19256696112.1 11 Nov 2025 06:43AM UTC 1208
49.94
GitHub Action Run
2 test_python_linux_x86_64_0/10 - 19256696112.2 11 Nov 2025 06:32AM UTC 1196
45.53
GitHub Action Run
3 test_python_linux_x86_64_8/10 - 19256696112.3 11 Nov 2025 06:36AM UTC 1178
45.45
GitHub Action Run
4 test_python_linux_x86_64_2/10 - 19256696112.4 11 Nov 2025 06:30AM UTC 1178
46.93
GitHub Action Run
5 test_python_linux_x86_64_1/10 - 19256696112.5 11 Nov 2025 06:36AM UTC 1175
40.18
GitHub Action Run
6 test_python_linux_x86_64_5/10 - 19256696112.6 11 Nov 2025 06:30AM UTC 1192
48.15
GitHub Action Run
7 test_python_macos14_arm64 - 19256696112.7 11 Nov 2025 06:32AM UTC 1160
43.22
GitHub Action Run
8 test_python_linux_x86_64_3/10 - 19256696112.8 11 Nov 2025 06:36AM UTC 1175
45.65
GitHub Action Run
9 test_python_linux_x86_64_9/10 - 19256696112.9 11 Nov 2025 06:34AM UTC 1183
45.09
GitHub Action Run
10 test_python_linux_x86_64_7/10 - 19256696112.10 11 Nov 2025 06:38AM UTC 1182
42.7
GitHub Action Run
11 test_python_linux_x86_64_6/10 - 19256696112.11 11 Nov 2025 06:30AM UTC 1172
40.74
GitHub Action Run
12 test_python_linux_arm64 - 19256696112.12 11 Nov 2025 06:34AM UTC 1160
43.21
GitHub Action Run
Source Files on build 19256696112
  • Tree
  • List 1715
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19256696112
  • 2fbbc15a on github
  • Prev Build on 2.30.x (#19183787535)
  • Next Build on 2.30.x (#19715508381)
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

© 2025 Coveralls, Inc