Skip to content

Bump golangci-lint to 2.6.0 - #3688

Merged
kcp-ci-bot merged 3 commits into
kcp-dev:mainfrom
xrstf:go125-lint-compat
Jan 19, 2026
Merged

Bump golangci-lint to 2.6.0#3688
kcp-ci-bot merged 3 commits into
kcp-dev:mainfrom
xrstf:go125-lint-compat

Conversation

@xrstf

@xrstf xrstf commented Oct 29, 2025

Copy link
Copy Markdown
Contributor

Summary

This is just maintenance. I also bumped logcheck because 0.9 doesn't work on Go 1.25 systems.

gocritic now complains about the misplaced Deprecation notices, and after fixing them, I had to adjust a bit of code in our codebase. However I did not remove the deprecated CreateSheriff, even though it was meant to be deprecated allll the way back in #1642 (2022). But since that never worked, nobody noticed and so I would declare today the official deprecation day 😁

What Type of PR Is This?

/kind chore

Release Notes

NONE

@kcp-ci-bot kcp-ci-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has signed the DCO. kind/chore Categorizes issue or PR as related to maintenance and other usually non-code changes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 29, 2025
@xrstf xrstf changed the title Bump golangci-lint to 2.5.0 Bump golangci-lint to 2.6.0 Oct 30, 2025
@kcp-ci-bot kcp-ci-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 4, 2025
@xrstf
xrstf force-pushed the go125-lint-compat branch from 65a30ca to c05d4d7 Compare November 4, 2025 14:51
@kcp-ci-bot kcp-ci-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 4, 2025
@xrstf
xrstf force-pushed the go125-lint-compat branch from c05d4d7 to 47b97da Compare November 4, 2025 14:56
@kcp-ci-bot kcp-ci-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 11, 2025
xrstf added 3 commits January 5, 2026 17:24
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
On-behalf-of: @SAP christoph.mewes@sap.com
@xrstf
xrstf force-pushed the go125-lint-compat branch from 47b97da to 52db8f2 Compare January 5, 2026 16:33
@kcp-ci-bot kcp-ci-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 5, 2026
@xrstf

xrstf commented Jan 7, 2026

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@xrstf

xrstf commented Jan 7, 2026

Copy link
Copy Markdown
Contributor Author

/retest

@mjudeikis mjudeikis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 19, 2026
@kcp-ci-bot

Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: b368c73a3e2799e33acb6af7fd23018904df77f7

@kcp-ci-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mjudeikis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 19, 2026
@xrstf

xrstf commented Jan 19, 2026

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@xrstf

xrstf commented Jan 19, 2026

Copy link
Copy Markdown
Contributor Author

/retest

@kcp-ci-bot
kcp-ci-bot merged commit c4dcb43 into kcp-dev:main Jan 19, 2026
14 checks passed
@xrstf
xrstf deleted the go125-lint-compat branch April 20, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/chore Categorizes issue or PR as related to maintenance and other usually non-code changes. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants