Skip to content

chore(deps): update golangci/golangci-lint docker tag to v2.10.1#3385

Open
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/blueprint-test-golangci-golangci-lint-2.x
Open

chore(deps): update golangci/golangci-lint docker tag to v2.10.1#3385
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/blueprint-test-golangci-golangci-lint-2.x

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Mar 3, 2026

This PR contains the following updates:

Package Update Change Pending
golangci/golangci-lint minor 2.8.02.10.1 2.11.3 (+3)

Release Notes

golangci/golangci-lint (golangci/golangci-lint)

v2.10.1

Compare Source

Released on 2026-02-17

  1. Fixes
    • buildssa panic

v2.10.0

Compare Source

Released on 2026-02-17

  1. Linters new features or changes
    • ginkgolinter: from 0.22.0 to 0.23.0
    • gosec: from 2.22.11 to 2.23.0 (new rules: G117, G602, G701, G702, G703, G704, G705, G706)
    • staticcheck: from 0.6.1 to 0.7.0
  2. Linters bug fixes
    • godoclint: from 0.11.1 to 0.11.2

v2.9.0

Compare Source

Released on 2026-02-10

  1. Enhancements
    • 🎉 go1.26 support
  2. Linters new features or changes
    • arangolint: from 0.3.1 to 0.4.0 (new rule: detect potential query injections)
    • ginkgolinter: from 0.21.2 to 0.22.0 (support for wrappers)
    • golines: from 0.14.0 to 0.15.0
    • misspell: from 0.7.0 to 0.8.0
    • revive: from v1.13.0 to v1.14.0 (new rules: epoch-naming, use-slices-sort)
    • unqueryvet: from 1.4.0 to 1.5.3 (new options: check-n1, check-sql-injection, check-tx-leaks, allow, custom-rules)
    • wsl_v5: from 5.3.0 to 5.6.0 (new rule: after-block)
  3. Linters bug fixes
    • modernize: from 0.41.0 to 0.42.0
    • prealloc: from 1.0.1 to 1.0.2
    • protogetter: from 0.3.18 to 0.3.20
  4. Misc.
    • Log information about files when configuration verification
    • Emit an error when no linters enabled
    • Do not collect VCS information when loading code

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested a review from bharathkkb as a code owner March 3, 2026 23:29
@forking-renovate forking-renovate bot added the dependencies Pull requests that update a dependency file label Mar 3, 2026
@renovate-bot renovate-bot added the dependencies Pull requests that update a dependency file label Mar 3, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request automates the update of the golangci/golangci-lint Docker image version used in the project's Makefile. This ensures that the project benefits from the latest linter features, bug fixes, and performance improvements, contributing to better code quality and consistency across the codebase.

Highlights

  • Dependency Update: Updated the golangci/golangci-lint Docker tag from v2.8.0 to v2.10.1.
  • Linter Enhancements: Incorporated golangci-lint v2.9.0 which adds Go 1.26 support and updates several linters like arangolint, ginkgolinter, revive, and unqueryvet.
  • Linter Updates and Bug Fixes: Included golangci-lint v2.10.0 with updates to ginkgolinter, gosec, and staticcheck, and a bug fix for godoclint. Version v2.10.1 provides a fix for a buildssa panic.
Changelog
  • infra/blueprint-test/Makefile
    • Updated GOLANGCI_VERSION from 2.8.0 to 2.10.1.
    • Incorporated golangci-lint v2.9.0 which adds Go 1.26 support and updates several linters like arangolint, ginkgolinter, revive, and unqueryvet.
    • Incorporated golangci-lint v2.10.0 which updates ginkgolinter, gosec, and staticcheck, and fixes a bug in godoclint.
    • Incorporated golangci-lint v2.10.1 which includes a fix for a buildssa panic.
Activity
  • Automated dependency update initiated by renovate-bot.
  • No human reviews or comments have been made yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@dpebot
Copy link
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request from Renovate updates the golangci-lint version. My review identifies a potential issue of version inconsistency. The update only targets one usage of the linter, but evidence from other files suggests there are multiple usages in the repository. I've left a comment on the change to highlight this problem, as using different linter versions can lead to inconsistent code quality checks.

@@ -1,5 +1,5 @@
SHELL := /bin/bash
GOLANGCI_VERSION := 2.8.0
GOLANGCI_VERSION := 2.10.1
Copy link
Contributor

Choose a reason for hiding this comment

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

high

This update appears to be incomplete, creating a version inconsistency for golangci-lint in the repository. While this line updates the version for blueprint tests, the file infra/build/developer-tools-krm/build/install_golangci_lint.sh indicates another usage of the linter. Having multiple versions of golangci-lint can lead to inconsistent linting results. To maintain consistency, all usages of golangci-lint across the repository should be updated to the same version.

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 8efb63a to f759b2c Compare March 3, 2026 23:36
@dpebot
Copy link
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from f759b2c to 90c95c8 Compare March 3, 2026 23:43
@dpebot
Copy link
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 90c95c8 to 00de76a Compare March 3, 2026 23:56
@dpebot
Copy link
Collaborator

dpebot commented Mar 3, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 00de76a to 11f08d8 Compare March 4, 2026 00:05
@dpebot
Copy link
Collaborator

dpebot commented Mar 4, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 11f08d8 to bef39f7 Compare March 4, 2026 00:25
@dpebot
Copy link
Collaborator

dpebot commented Mar 4, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from bef39f7 to 28795b2 Compare March 6, 2026 22:47
@dpebot
Copy link
Collaborator

dpebot commented Mar 6, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 28795b2 to 78f7e85 Compare March 7, 2026 00:23
@dpebot
Copy link
Collaborator

dpebot commented Mar 7, 2026

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/blueprint-test-golangci-golangci-lint-2.x branch from 78f7e85 to 222a9b1 Compare March 7, 2026 00:45
@dpebot
Copy link
Collaborator

dpebot commented Mar 7, 2026

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants