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

pantsbuild / pants / 20445216524 / 7
80%
main: 80%

Build:
DEFAULT BRANCH: main
Ran 22 Dec 2025 11:33PM UTC
Files 1192
Run time 39s
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

22 Dec 2025 10:06PM UTC coverage: 42.565% (-0.02%) from 42.584%
20445216524.7

push

github

web-flow
Add multi-module support to golangci-lint plugin and upgrade to v2 (#22934)

## Summary

Resolves https://github.com/pantsbuild/pants/issues/22935

- Add multi-module support to the experimental golangci-lint plugin by
partitioning targets by owning `go.mod`
- Upgrade default golangci-lint version from 1.64.6 to 2.7.1
- Keep v1 versions available for backward compatibility

## Changes

- **rules.py**: Add custom partitioner to group targets by owning
go.mod, run golangci-lint once per module with correct working directory
- **subsystem.py**: Upgrade default version to 2.7.1, add v2 checksums
- **rules_integration_test.py**: Add multi-module test, add v1 backward
compatibility test, update assertions for v1/v2 output format
differences

## Test plan

- [x] Existing tests pass with v2.7.1 (default)
- [x] New `test_passing_v1` verifies backward compatibility with v1.64.6
- [x] New `test_multiple_go_mods` verifies multi-module linting works
correctly

26605 of 62504 relevant lines covered (42.57%)

0.43 hits per line

Source Files on job test_python_linux_x86_64_7/10 - 20445216524.7
  • Tree
  • List 1192
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20445216524
  • 16570609 on github
  • Prev Job for on main (#20420122738.8)
  • Next Job for on main (#20533309613.4)
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