Repository navigation
Upgrade golangci-lint to 2.15.0 - #4875
Merged
liamfallon merged 2 commits intoNov 13, 2026
Merged
Conversation
✅ Deploy Preview for kptdocs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
- golangci-lint version bumped to `2.15.0` - All modules verified (go mod tidy, go fmt, go vet, go build) Signed-off-by: Aravindhan Ayyanathan <aravindhan.a@est.tech>
aravindtga
force-pushed
the
upgrade-golangci-lint-2.15.0-20261113
branch
from
November 13, 2026 13:10
037b4b1 to
4e3e491
Compare
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The review has no active issues requiring resolution.
No open issues 🎉
What changed in this PR
Upgrades kpt’s golangci-lint target to 2.15.0 and replaces repeated string literals with shared constants, preserving existing behavior.
Changes:
- Updates the linter version in build settings, upgrade automation, and documentation.
- Introduces shared constants for inventory fields, function types, and live-plan diff types.
| File | Description |
|---|---|
scripts/go-upgrade/README.md |
Updates the documented linter target to 2.15.0. |
scripts/go-upgrade/config.env |
Sets the upgrade script’s linter target to 2.15.0. |
pkg/live/load.go |
Uses shared inventory field constants. |
pkg/live/inventoryrg.go |
Defines and uses inventory field constants. |
make/info.mk |
Bumps the build’s linter version to 2.15.0. |
cli/fn/cmdeval/cmdeval.go |
Reuses function-type constants in completion, saving, and validation. |
cli/alpha/live/plan/diff.go |
Defines and uses diff-type constants. |
cli/alpha/live/plan/command.go |
Uses diff-type constants when formatting plan output. |
Review effort: Balanced
Signed-off-by: Aravindhan Ayyanathan <aravindhan.a@est.tech>
aravindtga
marked this pull request as ready for review
November 13, 2026 13:29
aravindtga
requested review from
efiacor,
kispaljr,
liamfallon and
mozesl-nokia
as code owners
November 13, 2026 13:29
|
liamfallon
approved these changes
Nov 13, 2026
Catalin-Stratulat-Ericsson
approved these changes
Nov 13, 2026
Catalin-Stratulat-Ericsson
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
2.15.0go mod tidy,go fmt,go vet,go build)AI Disclosure
Automated via go-upgrade script (AI-assisted development).