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

pantsbuild / pants / 28411659577
93%

Build:
DEFAULT BRANCH: main
Ran 30 Jun 2026 12:32AM UTC
Jobs 10
Files 1707
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

30 Jun 2026 12:23AM UTC coverage: 91.309% (-1.5%) from 92.803%
28411659577

push

github

web-flow
Add support for source jars to BSP protocol (#23410)

This PR is essentially a continuation of #21143, adding source JAR
support for the JVM BSP plugin. It adds centralized source jar
resolution to Coursier, allowing it to resolve `-source.jar`s when
downloading dependencies, both for Java and Scala, thus enabling code
navigation for third party dependencies in VS Code, IntelliJ, and other
editors with support.

I've been dogfooding this on our mid-sized Scala monorepo, and with
this, the developer experience moves from unbearable to excellent.

Disclosure: Claude code has helped me with some of the fixes, but all
code has been reviewed manually (to the extent that I know the jvm
backends).

283 of 304 new or added lines in 12 files covered. (93.09%)

1239 existing lines in 81 files now uncovered.

88781 of 97231 relevant lines covered (91.31%)

3.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
89.04
src/python/pants/jvm/bsp/dependencies.py
2
94.19
2.03% src/python/pants/backend/scala/bsp/rules.py
2
87.5
0.99% src/python/pants/bsp/util_rules/targets.py
1
95.24
-0.48% src/python/pants/backend/java/bsp/rules.py

Coverage Regressions

Lines Coverage ∆ File
130
0.0
-96.3% src/python/pants/backend/openapi/codegen/python/generate.py
57
30.34
-64.04% src/python/pants/option/options_fingerprinter.py
55
0.0
-96.49% src/python/pants/backend/nfpm/native_libs/rules.py
54
0.0
-100.0% src/python/pants/backend/codegen/thrift/scrooge/scala/rules.py
51
0.0
-98.08% src/python/pants/backend/adhoc/adhoc_tool.py
50
0.0
-94.34% src/python/pants/backend/tools/preamble/rules.py
45
54.08
-45.92% src/python/pants/backend/python/lint/flake8/rules_integration_test.py
43
0.0
-97.73% src/python/pants/backend/helm/goals/lint.py
43
30.21
-44.79% src/python/pants/pantsd/pants_daemon_core.py
38
0.0
-97.44% src/python/pants/backend/go/lint/gofmt/rules.py
36
0.0
-100.0% src/python/pants/backend/cc/subsystems/compiler.py
35
0.0
-100.0% src/python/pants/backend/openapi/codegen/python/package_mapper.py
34
0.0
-100.0% src/python/pants/backend/visibility/lint.py
33
79.78
-12.36% src/python/pants/core/environments/rules.py
33
85.49
-8.71% src/python/pants/jvm/target_types.py
29
0.0
-100.0% src/python/pants/backend/helm/check/kubeconform/chart.py
26
0.0
-96.3% src/python/pants/backend/docker/goals/tailor.py
26
0.0
-100.0% src/python/pants/backend/tools/preamble/subsystem.py
26
78.48
-16.46% src/python/pants/backend/visibility/rule_types.py
24
64.38
-32.88% src/python/pants/backend/helm/util_rules/post_renderer.py
23
81.29
-14.84% src/python/pants/backend/helm/dependency_inference/deployment.py
23
34.52
-27.38% src/python/pants/backend/python/util_rules/lockfile_diff.py
18
62.5
-32.14% src/python/pants/jvm/package/deploy_jar.py
17
0.0
-100.0% src/python/pants/backend/openapi/codegen/python/extra_fields.py
17
63.27
-34.69% src/python/pants/backend/tools/trufflehog/rules_integration_test.py
16
94.4
-2.64% src/python/pants/backend/python/target_types.py
15
65.12
-34.88% src/python/pants/backend/project_info/filedeps.py
15
61.7
-31.91% src/python/pants/backend/shell/goals/package.py
15
76.39
-20.83% src/python/pants/engine/internals/platform_rules_test.py
14
91.16
-7.73% src/python/pants/backend/scala/target_types.py
13
0.0
-100.0% src/python/pants/backend/codegen/thrift/scrooge/scala/symbol_mapper.py
13
89.95
-6.22% src/python/pants/backend/python/target_types_rules.py
11
0.0
-100.0% src/python/pants/backend/go/lint/gofmt/subsystem.py
9
84.93
-12.33% src/python/pants/util/memo.py
8
77.5
-20.0% src/python/pants/backend/build_files/fmt/buildifier/rules_integration_test.py
8
85.45
-14.55% src/python/pants/backend/go/util_rules/binary.py
8
83.33
-16.67% src/python/pants/backend/python/goals/run_helper.py
8
78.38
-21.62% src/python/pants/backend/terraform/lint/tfsec/tfsec_integration_test.py
7
86.89
-11.48% src/python/pants/backend/codegen/thrift/dependency_inference.py
7
0.0
-87.5% src/python/pants/backend/go/lint/gofmt/skip_field.py
7
94.92
-1.78% src/python/pants/core/util_rules/adhoc_process_support.py
7
76.11
-6.19% src/python/pants/pantsd/service/pants_service.py
6
92.82
-3.08% src/python/pants/backend/nfpm/fields/contents.py
6
86.96
-13.04% src/python/pants/backend/python/goals/run_python_source.py
6
87.27
-5.45% src/python/pants/backend/python/typecheck/mypy/subsystem.py
5
87.67
-6.85% src/python/pants/engine/console.py
5
76.92
-4.27% src/python/pants/init/logging.py
5
83.91
-5.75% src/python/pants/jvm/resolve/jvm_tool.py
4
0.0
-100.0% src/python/pants/backend/openapi/codegen/python/rules.py
4
93.79
-2.26% src/python/pants/backend/scala/dependency_inference/scala_parser.py
4
91.53
-6.78% src/python/pants/jvm/subsystems.py
3
94.29
-1.07% src/python/pants/backend/python/util_rules/pex_from_targets.py
3
95.88
-3.09% src/python/pants/backend/shell/shunit2_test_runner.py
3
88.0
-3.0% src/python/pants/core/util_rules/search_paths.py
3
89.77
-3.41% src/python/pants/engine/internals/dep_rules.py
2
96.64
-1.68% src/python/pants/backend/go/target_types.py
2
91.67
-2.78% src/python/pants/backend/nfpm/util_rules/inject_config.py
2
97.4
-2.6% src/python/pants/backend/openapi/util_rules/generator_process.py
2
96.15
-3.85% src/python/pants/backend/python/lint/flake8/rules.py
2
96.51
-0.37% src/python/pants/backend/python/util_rules/pex.py
2
91.17
-0.71% src/python/pants/core/goals/generate_lockfiles.py
2
95.59
-0.2% src/python/pants/engine/target.py
2
94.0
-3.96% src/python/pants/jvm/resolve/coordinate.py
2
88.89
-11.11% src/python/pants/testutil/pytest_util.py
1
97.37
-2.63% src/python/pants/backend/codegen/thrift/jvm_symbol_mapper.py
1
92.86
-3.57% src/python/pants/backend/go/dependency_inference.py
1
94.74
-0.75% src/python/pants/backend/helm/util_rules/chart.py
1
97.09
-0.49% src/python/pants/backend/helm/util_rules/renderer.py
1
94.63
-0.67% src/python/pants/backend/helm/utils/yaml.py
1
97.3
-1.35% src/python/pants/backend/java/compile/javac.py
1
87.5
-12.5% src/python/pants/backend/python/typecheck/mypy/skip_field.py
1
97.67
-2.33% src/python/pants/backend/scala/dependency_inference/symbol_mapper.py
1
97.79
-0.55% src/python/pants/backend/shell/target_types.py
1
93.94
-3.03% src/python/pants/backend/terraform/lint/tfsec/rules.py
1
96.55
-3.45% src/python/pants/backend/visibility/rules.py
1
95.65
-4.35% src/python/pants/core/util_rules/distdir.py
1
96.14
-0.39% src/python/pants/engine/internals/build_files.py
1
98.1
-0.95% src/python/pants/engine/intrinsics.py
1
95.89
-1.37% src/python/pants/jvm/shading/rules.py
1
97.93
-0.69% src/python/pants/option/subsystem.py
1
95.43
-0.57% src/python/pants/source/source_root.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_arm64 - 28411659577.1 30 Jun 2026 12:32AM UTC 1189
51.77
GitHub Action Run
2 test_python_linux_x86_64_2/10 - 28411659577.2 30 Jun 2026 12:32AM UTC 1210
58.53
GitHub Action Run
3 test_python_linux_x86_64_6/10 - 28411659577.3 30 Jun 2026 12:32AM UTC 1201
49.29
GitHub Action Run
4 test_python_linux_x86_64_3/10 - 28411659577.4 30 Jun 2026 12:33AM UTC 1207
53.49
GitHub Action Run
5 test_python_linux_x86_64_1/10 - 28411659577.5 30 Jun 2026 12:34AM UTC 1206
49.05
GitHub Action Run
6 test_python_linux_x86_64_0/10 - 28411659577.6 30 Jun 2026 12:34AM UTC 1230
57.27
GitHub Action Run
7 test_python_linux_x86_64_8/10 - 28411659577.7 30 Jun 2026 12:36AM UTC 1209
52.8
GitHub Action Run
8 test_python_linux_x86_64_4/10 - 28411659577.8 30 Jun 2026 12:37AM UTC 1240
58.81
GitHub Action Run
9 test_python_linux_x86_64_7/10 - 28411659577.9 30 Jun 2026 12:35AM UTC 1211
50.82
GitHub Action Run
10 test_python_linux_x86_64_9/10 - 28411659577.10 30 Jun 2026 12:35AM UTC 1217
53.74
GitHub Action Run
Source Files on build 28411659577
  • Tree
  • List 1707
  • Changed 28
  • Source Changed 9
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28411659577
  • 03910c7c on github
  • Prev Build on main (#28345096986)
  • Next Build on main (#28422333258)
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