Skip to content

Conversation

@hongkailiu
Copy link
Member

@hongkailiu hongkailiu commented Jan 16, 2026

This is to fix

Error: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25.0)
Failed executing command with error: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25.0)

from the job [1] after bumping to Go1.25.

Requiring #73655

[1]. https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_cluster-version-operator/1288/pull-ci-openshift-cluster-version-operator-main-lint/2012180966650417152

@hongkailiu
Copy link
Member Author

/pj-rehearse

@openshift-ci-robot
Copy link
Contributor

@hongkailiu: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci openshift-ci bot requested review from DavidHurta and wking January 16, 2026 15:29
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 16, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hongkailiu

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 16, 2026
@hongkailiu
Copy link
Member Author

/pj-rehearse pull-ci-openshift-cluster-version-operator-main-lint

@openshift-ci-robot
Copy link
Contributor

@hongkailiu: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

name: golangci-lint
namespace: ci
tag: v1.64.8
tag: latest
Copy link
Contributor

Choose a reason for hiding this comment

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

I am personally inclined to use explicit versions. This protects us from randomly failing CI during a development cycle every time there is a bump to the golangci-lint, which finds some issues. It usually results in us fixing the failing CI due to linting issues only when bumping the Go version, which, on its own, represents some amount of work. This simply means we can fix linting issues only when bumping Go, and we can anticipate this, and I don't find linting issues to be urgent. I find it personally less annoying this way; however, if you find it more useful this way, I am open to approving the PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

I am personally inclined to use explicit versions.

Totally agree: Fix lint issue with our own pace. But currently there is no versions in between at the moment. :)
And I just want to fix the lint job and unblock merging to CVO.

The attempt to use latest failed anyway as our code is not ready.
Chicken and egg situation for us now.

@hongkailiu
Copy link
Member Author

/pj-rehearse pull-ci-openshift-cluster-version-operator-main-lint

@openshift-ci-robot
Copy link
Contributor

@hongkailiu: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@hongkailiu
Copy link
Member Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 17, 2026
@hongkailiu
Copy link
Member Author

/pj-rehearse pull-ci-openshift-cluster-version-operator-main-lint

@openshift-ci-robot
Copy link
Contributor

@hongkailiu: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@hongkailiu hongkailiu changed the title CVO: Use golangci-lint:latest in CI CVO: Use golangci-lint:v2.3.1 in CI Jan 20, 2026
This is to fix

```
Error: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25.0)
Failed executing command with error: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25.0)
```

from the job [1] after bumping to Go1.25.

[1]. https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_cluster-version-operator/1288/pull-ci-openshift-cluster-version-operator-main-lint/2012180966650417152
@hongkailiu
Copy link
Member Author

/pj-rehearse pull-ci-openshift-cluster-version-operator-main-lint

@openshift-ci-robot
Copy link
Contributor

@hongkailiu: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@hongkailiu
Copy link
Member Author

/pj-rehearse pull-ci-openshift-cluster-version-operator-main-lint

@openshift-ci-robot
Copy link
Contributor

@hongkailiu: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 20, 2026

@hongkailiu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/openshift/cluster-version-operator/main/lint 6ad6c5f link unknown /pj-rehearse pull-ci-openshift-cluster-version-operator-main-lint

Full PR test history. Your PR dashboard.

Details

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. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants