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

pantsbuild / pants / 18861553943
80%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2025 02:08AM 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

28 Oct 2025 01:55AM UTC coverage: 80.287% (+0.002%) from 80.285%
18861553943

push

github

web-flow
golang: fix Go SDK version check for coverage experiment (#22809)

In the Go backend, limit disabling the "coverage redesign" experiment to
those Go versions where that experiment was actually included. The
`coverageredesign` experiment was removed in Go 1.25, and so an existing
version check needs to account for that change.

## Background

In Go 1.20, Go introduced a new coverage implementation called the
"coverage redesign." Pants did not implement support at the time nor
subsequently. Instead, https://github.com/pantsbuild/pants/pull/18205
disabled the `coverageredesign` experiment so that the "old" coverage
implementation was always used.

In Go 1.25, the coverage redesign implementation is the only
implementation and the old coverage implementation has been removed. The
[relevant conditional in
Pants](https://github.com/pantsbuild/pants/blob/main/src/python/pants/backend/go/util_rules/sdk.py#L162)
needs to account for that fact.

## Testing

Tested by running tests in the
https://github.com/pantsbuild/example-golang repository. Before the fix,
the tests fail; after the fix, they pass. Not sure how to test with
different Go versions being available in Pants CI though. We might need
to update to Go 1.25.x in CI just to make sure the backend generally
works with the latest versions.

0 of 1 new or added line in 1 file covered. (0.0%)

77902 of 97030 relevant lines covered (80.29%)

3.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
69.88
0.0% src/python/pants/backend/go/util_rules/sdk.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_9/10 - 18861553943.1 28 Oct 2025 02:20AM UTC 1183
45.1
GitHub Action Run
2 test_python_linux_x86_64_8/10 - 18861553943.2 28 Oct 2025 02:26AM UTC 1178
45.48
GitHub Action Run
3 test_python_linux_x86_64_5/10 - 18861553943.3 28 Oct 2025 02:19AM UTC 1192
48.18
GitHub Action Run
4 test_python_linux_x86_64_6/10 - 18861553943.4 28 Oct 2025 02:17AM UTC 1172
40.77
GitHub Action Run
5 test_python_linux_x86_64_1/10 - 18861553943.5 28 Oct 2025 02:22AM UTC 1175
40.22
GitHub Action Run
6 test_python_linux_x86_64_4/10 - 18861553943.6 28 Oct 2025 02:30AM UTC 1208
49.97
GitHub Action Run
7 test_python_macos14_arm64 - 18861553943.7 28 Oct 2025 02:14AM UTC 1160
43.25
GitHub Action Run
8 test_python_linux_x86_64_2/10 - 18861553943.8 28 Oct 2025 02:17AM UTC 1178
46.9
GitHub Action Run
9 test_python_linux_arm64 - 18861553943.9 28 Oct 2025 02:08AM UTC 1160
43.24
GitHub Action Run
10 test_python_linux_x86_64_7/10 - 18861553943.10 28 Oct 2025 02:29AM UTC 1182
42.73
GitHub Action Run
11 test_python_linux_x86_64_0/10 - 18861553943.11 28 Oct 2025 02:22AM UTC 1196
45.56
GitHub Action Run
12 test_python_linux_x86_64_3/10 - 18861553943.12 28 Oct 2025 02:24AM UTC 1175
45.68
GitHub Action Run
Source Files on build 18861553943
  • Tree
  • List 1715
  • Changed 2
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18861553943
  • d3c62bd3 on github
  • Prev Build on main (#18861236742)
  • Next Build on main (#18862829794)
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