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

pantsbuild / pants / 25565075335
93%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 03:54PM UTC
Jobs 12
Files 1752
Run time 5min
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

08 May 2026 03:47PM UTC coverage: 92.787% (-0.1%) from 92.887%
25565075335

push

github

web-flow
add OpenTelemetry backend for work unit reporting (#23284)

# Overview

Add a new `pants.backend.observability.opentelemetry` backend to report
work unit tracing to OpenTelemetry. The backend is based on
[shoalsoft-pants-opentelemetry-plugin](https://github.com/shoalsoft/shoalsoft-pants-opentelemetry-plugin)
with unnecessary compatibility code and "shoalsoft" branding removed.

Notes:
- This backend only reports Pants engine work units to OpenTelemetry; it
does not report tracing data for Pants rule code or Rust code.
- This backend does not support gRPC export due to fork safety issues
with the gRPC C library and Python. See
https://github.com/shoalsoft/shoalsoft-pants-opentelemetry-plugin/issues/84
and https://github.com/grpc/grpc/blob/master/doc/fork_support.md for
additional details.

# Lockfile

```
    Lockfile diff: 3rdparty/python/user_reqs.lock [python-default]

    ==                    Upgraded dependencies                     ==

      anyio                          4.12.1       -->   4.13.0
      certifi                        2026.1.4     -->   2026.4.22
      charset-normalizer             3.4.4        -->   3.4.7
      click                          8.3.1        -->   8.3.2
      cross-web                      0.4.1        -->   0.6.0
      cryptography                   46.0.5       -->   46.0.7
      graphql-core                   3.2.7        -->   3.2.8
      idna                           3.11         -->   3.12
      librt                          0.8.1        -->   0.9.0
      pydantic                       2.12.5       -->   2.13.3
      pydantic-core                  2.41.5       -->   2.46.3
      pygments                       2.19.2       -->   2.20.0
      pyjwt                          2.11.0       -->   2.12.1
      python-dotenv                  1.2.1        -->   1.2.2
      python-multipart               0.0.22       -->   0.0.26
      ujson                          5.11.0       -->   5.12.0

    ==                   ... (continued)

564 of 740 new or added lines in 12 files covered. (76.22%)

1 existing line in 1 file now uncovered.

92944 of 100169 relevant lines covered (92.79%)

4.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
117
44.29
src/python/pants/backend/observability/opentelemetry/opentelemetry_processor.py
22
50.0
src/python/pants/backend/observability/opentelemetry/workunit_handler.py
14
89.39
src/python/pants/backend/observability/opentelemetry/opentelemetry_integration_test.py
12
55.56
src/python/pants/backend/observability/opentelemetry/opentelemetry_config.py
4
94.03
src/python/pants/backend/observability/opentelemetry/single_threaded_processor.py
3
90.32
src/python/pants/backend/observability/opentelemetry/processor.py
2
95.35
src/python/pants/backend/observability/opentelemetry/register.py
1
98.36
src/python/pants/backend/observability/opentelemetry/exception_logging_processor_test.py
1
97.62
src/python/pants/backend/observability/opentelemetry/single_threaded_processor_test.py

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_arm64 - 25565075335.1 08 May 2026 04:06PM UTC 1186
52.04
GitHub Action Run
2 test_python_macos14_arm64 - 25565075335.2 08 May 2026 03:54PM UTC 1186
52.05
GitHub Action Run
3 test_python_linux_x86_64_0/10 - 25565075335.3 08 May 2026 03:56PM UTC 1222
56.23
GitHub Action Run
4 test_python_linux_x86_64_7/10 - 25565075335.4 08 May 2026 03:59PM UTC 1208
51.04
GitHub Action Run
5 test_python_linux_x86_64_3/10 - 25565075335.5 08 May 2026 03:56PM UTC 1203
53.62
GitHub Action Run
6 test_python_linux_x86_64_5/10 - 25565075335.6 08 May 2026 03:57PM UTC 1217
59.13
GitHub Action Run
7 test_python_linux_x86_64_8/10 - 25565075335.7 08 May 2026 03:59PM UTC 1205
53.06
GitHub Action Run
8 test_python_linux_x86_64_1/10 - 25565075335.8 08 May 2026 03:57PM UTC 1202
49.3
GitHub Action Run
9 test_python_linux_x86_64_9/10 - 25565075335.9 08 May 2026 03:59PM UTC 1213
53.62
GitHub Action Run
10 test_python_linux_x86_64_2/10 - 25565075335.10 08 May 2026 03:56PM UTC 1207
58.61
GitHub Action Run
11 test_python_linux_x86_64_4/10 - 25565075335.11 08 May 2026 04:01PM UTC 1237
59.09
GitHub Action Run
12 test_python_linux_x86_64_6/10 - 25565075335.12 08 May 2026 03:55PM UTC 1198
49.31
GitHub Action Run
Source Files on build 25565075335
  • Tree
  • List 1752
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25565075335
  • c6c579ad on github
  • Prev Build on main (#25564872649)
  • Next Build on main (#25576015825)
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