Skip to content

Conversation

@sebrandon1
Copy link
Member

Tracking: redhat-best-practices-for-k8s/telco-bot#49

Attempting to upgrade the golangci.yml to v2.

@openshift-ci openshift-ci bot requested review from andfasano and bfournie November 21, 2025 20:34
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 29, 2025
Copy link
Contributor

@barbacbd barbacbd left a comment

Choose a reason for hiding this comment

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

@sebrandon1 It looks like this change would definitely help (I was looking at this the other day too). First, it looks like CI tests need to be updated too

golangci-lint has version 1.64.8 built with go1.24.1 from 8b37f141 on 2025-03-17T20:41:53Z

There is a conflict that needs to be resolved.
Also can we add some of the comments back to the file.

@sebrandon1 sebrandon1 force-pushed the golangci-lint-upgrade branch from 62da86f to ffcf677 Compare December 1, 2025 15:38
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 1, 2025
@sebrandon1 sebrandon1 force-pushed the golangci-lint-upgrade branch from ffcf677 to ae49b02 Compare December 1, 2025 15:38
barbacbd added a commit to barbacbd/release that referenced this pull request Dec 1, 2025
The current version (1.64.8) is insufficient on all platforms to find lint errors.
A PR in the openshift installer (openshift/installer#10121) will update
the golangci-lint yaml file to version v2.
@sebrandon1 sebrandon1 force-pushed the golangci-lint-upgrade branch from 0c96395 to c004395 Compare December 1, 2025 17:51
@barbacbd
Copy link
Contributor

barbacbd commented Dec 1, 2025

golint failure is expected until openshift/release#72011 merges

barbacbd added a commit to barbacbd/release that referenced this pull request Dec 1, 2025
The current version (1.64.8) is insufficient on all platforms to find lint errors.
A PR in the openshift installer (openshift/installer#10121) will update
the golangci-lint yaml file to version v2.
Copy link
Contributor

@barbacbd barbacbd left a comment

Choose a reason for hiding this comment

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

/approve

Waiting to see the way forward but this PR looks good.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 1, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: barbacbd

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

The pull request process is described here

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 1, 2025
@barbacbd
Copy link
Contributor

barbacbd commented Dec 1, 2025

background: We are going to move the changes for golangci-lint v2 config to a new file. Let this merge and set a specific path in CI. Then when everything is all working we can go back over and rename/move things.

@sebrandon1 sebrandon1 force-pushed the golangci-lint-upgrade branch from c004395 to e1a2701 Compare December 1, 2025 21:35
@sebrandon1 sebrandon1 force-pushed the golangci-lint-upgrade branch from e1a2701 to 4a75423 Compare December 1, 2025 21:36
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 2, 2025

@sebrandon1: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants