Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-16482: bump golangci-lint to 1.53.1 #702

Merged

Conversation

rwsu
Copy link
Contributor

@rwsu rwsu commented Aug 17, 2023

Cannot update golangci-lint in the same PR as one exhibiting issues because the CI still uses the previous version.

Updating k8s.io/apimachinery module to a newer version causes the old linter to throw nil pointer error.

Example #701

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Aug 17, 2023
@openshift-ci-robot
Copy link

@rwsu: This pull request references Jira Issue OCPBUGS-16482, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @mhanss

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Cannot update golangci-lint in the same PR as one exhibiting issues because the CI still uses the previous version.

Updating k8s.io/apimachinery module to a newer version causes the old linter to throw nil pointer error.

Example #701

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/test-infra repository.

@openshift-ci openshift-ci bot requested a review from mhanss August 17, 2023 22:18
@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 17, 2023
@openshift-ci openshift-ci bot added the downstream-change-needed Requires updating downstream image label Aug 17, 2023
@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Merging #702 (d405662) into master (fd3e8f3) will increase coverage by 3.09%.
Report is 1 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #702      +/-   ##
==========================================
+ Coverage   54.68%   57.78%   +3.09%     
==========================================
  Files          14       14              
  Lines        2911     3326     +415     
==========================================
+ Hits         1592     1922     +330     
- Misses       1177     1241      +64     
- Partials      142      163      +21     

see 2 files with indirect coverage changes

Cannot update golangci-lint in the same PR as one exhibiting
issues because the CI still uses the previous version.

Updating k8s.io/apimachinery module to a newer version
causes the old linter to throw nil pointer error.

Example openshift#701
@rwsu rwsu force-pushed the bump-golangci-lint-1.53.1 branch from d777c64 to d405662 Compare August 17, 2023 22:31
@rwsu rwsu changed the title OCPBUGS-16482: bump golangci-lint to 153.1 OCPBUGS-16482: bump golangci-lint to 1.53.1 Aug 17, 2023
@rwsu
Copy link
Contributor Author

rwsu commented Aug 18, 2023

/retest-required

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 21, 2023
@openshift-ci
Copy link

openshift-ci bot commented Aug 21, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: osherdp, rwsu

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 Aug 21, 2023
@osherdp osherdp removed the downstream-change-needed Requires updating downstream image label Aug 21, 2023
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD deee07c and 2 for PR HEAD d405662 in total

@openshift-ci
Copy link

openshift-ci bot commented Aug 21, 2023

@rwsu: 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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit e4a0f62 into openshift:master Aug 21, 2023
10 checks passed
@openshift-ci-robot
Copy link

@rwsu: Jira Issue OCPBUGS-16482: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Jira bug in order for it to move to the next state. Once unlinked, request a bug refresh with /jira refresh.

Jira Issue OCPBUGS-16482 has not been moved to the MODIFIED state.

In response to this:

Cannot update golangci-lint in the same PR as one exhibiting issues because the CI still uses the previous version.

Updating k8s.io/apimachinery module to a newer version causes the old linter to throw nil pointer error.

Example #701

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/test-infra repository.

@openshift-merge-robot
Copy link

Fix included in accepted release 4.15.0-0.nightly-2023-10-24-230302

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. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants