Skip to content

Update dependency golangci/golangci-lint to v2.15 - #374

Open
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/golangci-golangci-lint-2.x
Open

red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/golangci-golangci-lint-2.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
golangci/golangci-lint uses-with minor v2.12 → v2.15

Release Notes

golangci/golangci-lint

v2.15.0

Compare Source

Released on 2026-10-16

  1. Linters new features or changes
    • errcheck: from 1.20.0 to 1.30.0
    • exhaustive: from 0.13.0 to 0.15.0 (⚠️ changes)
    • gocognit: from 1.2.1 to 1.3.0
    • golines: from 0.15.0 to 0.16.0
    • govet-modernize: from 0.50.0 to 0.52.0
    • loggercheck: from 0.12.0 to 0.13.0
    • predeclared: from 0.2.2 to 0.3.0
    • wrapcheck: from 2.12.0 to 2.13.0
  2. Linters bug fixes
    • bidichk: from 0.3.3 to 0.3.4
    • canonicalheader: from a25c71c to e18e5c5
    • gofumpt: improve deprecation logs
    • gosec: improve concurrency default value
    • iface: from 1.5.1 to 1.5.3
    • paralleltest: from 1.0.15 to 1.0.16
    • revive: from 1.17.0 to 1.17.1
    • revive: the rules context-keys-type, errorf, modifies-value-receiver, range-val-address, string-of-int, time-equal, time-naming, unexported-return, unhandled-error, var-declaration are working (less randomly).
    • rowserrcheck: from c5f79b8 to e0740d5
    • staticcheck: from 0.8.1 to 0.8.2
  3. Bug fixes
    • fix: compute custom version hash with module versions
    • fix: env vars loading (related to revive)

⚠️ Changes of the exhaustive linter:

  • The replaced options still exists, and partially works, but they are deprecated.
  • The options explicit-exhaustive-switch and explicit-exhaustive-map have been replaced by explicit-exhaustive.
  • The check the value map has been replaced by mapliteral.
  • The option ignore-enum-members (string) has been replaced by ignore-constants (slice).
  • The option ignore-enum-types (string) has been replaced by ignore-types (slice).
  • New report messages.
  • The linter is a now a "slow" linter.

v2.14.0

Compare Source

Released on 2026-09-24

  1. Bug fixes
    • fix: cache of facts reloading
  2. Linters new features or changes
    • bodyclose: from 73d1f95 to 857993a (new directive handled)
    • exhaustive: from 0.12.0 to 0.13.0
    • exhaustruct_v5: from 5.0.3 to 5.2.0 (new option: allow-empty-blank-assignments)
    • go-check-sumtype: from 0.3.1 to ae6904d
    • gocritic: from 0.14.4 to 0.15.0
    • gofumpt: from 0.11.0 to 0.12.0
    • gomoddirectives: from 0.9.0 to 0.10.0
    • gosec: from 2.28.0 to 2.29.0 (re-enable G407)
    • govet-modernize: from 0.49.0 to 0.50.0
    • loggercheck: from 0.11.0 to 0.12.0
    • revive: from 1.15.0 to 1.17.0 (new rules: marshal-receiver, multiline-if-init, use-slices-concat)
    • tagliatelle: from 0.7.2 to 0.8.0
  3. Linters bug fixes
    • fatcontext: from 0.10.0 to 0.10.1
    • flock: from 0.13.0 to 0.13.1
    • godoclint: from 0.11.2 to 0.11.4
    • protogetter: from 0.3.21 to 1.0.1
    • recvcheck: from 0.3.0 to 0.3.1
    • tagalign: from 1.4.3 to 1.4.4

v2.13.2

Compare Source

Released on 2026-08-28

  1. Bug fixes
    • Decrease cache entropy
  2. Linters bug fixes
    • iface: from 1.5.0 to 1.5.1
    • staticcheck: from 0.8.0 to 0.8.1
    • unparam: from 3f964bc to 2fa3d84
    • canonicalheader: from v1.1.2 to a temporary fork

v2.13.1

Compare Source

Released on 2026-08-20

  1. Linters bug fixes
    • ginkgolinter: from 0.23.1 to 0.24.0
    • gofmt: from d62b90e to e84e050
    • staticcheck: from 0.8.0-rc.1 to 0.8.0
    • wsl_v5: from 5.8.0 to 5.9.0

v2.13.0

Compare Source

Released on 2026-08-19

  1. Enhancements
    • 🎉 go1.27 support
  2. Bug fixes
    • fix: cache package facts
  3. Linters new features or changes
    • dupword: from 0.1.7 to 0.1.8 (new option skip-raw-strings)
    • errcheck: from 1.10.0 to 1.20.0
    • exhaustruct_v5: from 4.0.0 to 5.0.2 (new configuration)
    • exhaustruct: deprecated and replaced by exhaustruct_v5
    • fatcontext: from 0.9.0 to 0.10.0 (new options: check-loops, check-function-literals)
    • goconst: from 1.10.0 to 1.11.0 (new options: ignore-map-keys, exclude-types)
    • gofumpt: from 0.9.2 to 0.11.0 (new options: extra.group-params, extra.clothe-returns, extra.balance-calls)
    • gomoddirectives: from 0.8.0 to 0.9.0 (new option: replace-allow-all)
    • gosec: from 2.26.1 to 2.27.1
    • govet-modernize: from 0.44.0 to 0.49.0 (fmtappendf is removed. New analyzers atomictypes, embedlit, errorsastype, importcomment, reflecttypeassert, slicesclip, and slicesbackward. waitgroup is renamed waitgroupgo)
    • iface: from 1.4.3 to 1.5.0 (new analyzer: unusedmethod)
    • noinlineerr: from 1.0.5 to 1.0.6
    • nonamedreturns: from 1.0.6 to 1.0.8 (new option: allow-unused-named-returns)
    • recvcheck: from 0.2.0 to 0.3.0 (new default exclusions)
    • unparam: from 5beb8c8 to 3f964bc
  4. Linters bug fixes
    • clickhouse-go-linter: from 1.2.0 to 1.2.1
    • errname: from 1.1.1 to 1.1.2
    • exhaustruct_v5: from 5.0.2 to 5.0.3
    • funcorder: add missing Function field
    • ginkgolinter: from 0.23.0 to 0.23.1
    • gocheckcompilerdirectives: from 1.3.0 to 1.4.0
    • gocritic: from 0.14.3 to 0.14.4
    • gomoddirectives: add missing IgnoreForbidden field
    • iface: from 1.4.2 to 1.4.3
    • mirror: from 1.3.0 to 1.3.3
    • nilnil: from 1.1.1 to 1.1.2
    • protogetter: from 0.3.20 to 0.3.21

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux
red-hat-konflux Bot requested a review from a team as a code owner August 23, 2026 02:28
@fullsend-ai-review

fullsend-ai-review Bot commented Aug 23, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 2:29 AM UTC · Completed 2:37 AM UTC

Commit: 9ee3c25 · View workflow run →

@fullsend-ai-review

fullsend-ai-review Bot commented Aug 23, 2026 •

Copy link
Copy Markdown

Review

Findings

High

  • [protected-path] .github/workflows/pr.yaml — This PR modifies a file under the .github/ protected path. The PR has no linked issue justifying the modification of governance/infrastructure files. Human approval is required for all changes to protected paths.

Medium

  • [version-skew] .github/workflows/pr.yaml:23 — The CI workflow now uses golangci-lint v2.14.0 (line 23 of pr.yaml), but the Makefile (line 218) still defines GOLANGCI_LINT_VERSION ?= v2.12.2. This version skew means developers running make lint locally use a different golangci-lint version than CI. A rule or behavior change between v2.12.2 and v2.14.0 could cause CI to fail on code that passes locally, or vice versa.
    Remediation: Update GOLANGCI_LINT_VERSION in the Makefile (line 218) from v2.12.2 to v2.14.0 to keep CI and local development in sync.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run

Review

Findings

High

  • [protected-path] .github/workflows/pr.yaml — This PR modifies a file under the .github/ protected path. The PR has no linked issue justifying the modification of governance/infrastructure files. Human approval is required for all changes to protected paths.

Medium

  • [version skew] .github/workflows/pr.yaml:23 — The CI workflow now uses golangci-lint v2.14.0, but the Makefile (line 218) still defines GOLANGCI_LINT_VERSION ?= v2.12.2. This version skew means developers running make lint locally use a different golangci-lint version than CI, which can cause linting results to diverge — a new rule in v2.14.0 could fail CI while passing locally, or vice versa.
    Remediation: Update GOLANGCI_LINT_VERSION in the Makefile to v2.14.0 to keep CI and local development in sync.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (2)

Review

Findings

High

  • [protected-path] .github/workflows/pr.yaml — This PR modifies a file under the .github/ protected path. The PR has no linked issue justifying the modification of governance/infrastructure files. Human approval is required for all changes to protected paths.
    Remediation: Obtain human reviewer approval for this protected-path change.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (3)

Review

Findings

High

  • [protected-path] .github/workflows/pr.yaml — This PR modifies a file under the protected path .github/. The PR has no linked issue providing authorization for this change. Human approval is always required for changes to governance and infrastructure files, regardless of the change's nature.
    Remediation: Link an authorizing issue to the PR, or obtain explicit human maintainer approval for this protected-path change.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (4)

Review

Findings

High

  • [protected-path] .github/workflows/pr.yaml — PR modifies a file under the protected .github/ path. No linked issue provides authorization for modifying governance or infrastructure files. Human approval is required for protected-path changes.
    Remediation: Link a tracking issue that authorizes this CI workflow modification, or obtain explicit human approval for the change.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (5)

Review

Findings

High

  • [protected-path] .github/workflows/pr.yaml — This PR modifies a file under the protected .github/ path. No linked issue provides explicit authorization for modifying governance/infrastructure files. Note: the repository's renovate.json configures automerge for github-actions manager updates, which may serve as implicit authorization for this change pattern. Human approval is always required for protected-path changes.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (6)

Review

Findings

High

  • [protected-path] .github/workflows/pr.yaml — This PR modifies a file under the .github/ protected path. The PR has no linked issue providing explicit authorization for modifying governance/infrastructure files. While this is a standard Renovate dependency update (golangci-lint v2.12 → v2.13.0) and the repository's renovate.json configures automerge for GitHub Actions updates, human approval is always required for changes to protected paths.
    Remediation: A maintainer should verify the version bump is intended and approve the protected-path change.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

fullsend-ai-review[bot]

This comment was marked as outdated.

@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from 4d35d0d to 6a0c78e Compare August 24, 2026 02:08
@red-hat-konflux red-hat-konflux Bot changed the title Update dependency golangci/golangci-lint to v2.13.0 Update dependency golangci/golangci-lint to v2.13.1 Aug 24, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 2:09 AM UTC · Completed 2:18 AM UTC

Commit: 9ee3c25 · View workflow run →

fullsend-ai-review[bot]

This comment was marked as outdated.

@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from 6a0c78e to 8986b01 Compare August 26, 2026 03:32
@fullsend-ai-review

fullsend-ai-review Bot commented Aug 26, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:33 AM UTC · Completed 3:42 AM UTC

Commit: 9ee3c25 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.41

fullsend-ai-review[bot]

This comment was marked as outdated.

@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from 8986b01 to be335f3 Compare August 27, 2026 04:12
@fullsend-ai-review

fullsend-ai-review Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:13 AM UTC · Completed 4:21 AM UTC

Commit: 9ee3c25 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.65

fullsend-ai-review[bot]

This comment was marked as outdated.

@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from be335f3 to 7e14284 Compare August 31, 2026 01:35
@red-hat-konflux red-hat-konflux Bot changed the title Update dependency golangci/golangci-lint to v2.13.1 Update dependency golangci/golangci-lint to v2.13.2 Aug 31, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:36 AM UTC · Completed 1:43 AM UTC

Commit: 9ee3c25 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.14

fullsend-ai-review[bot]

This comment was marked as outdated.

@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from 7e14284 to aaaa464 Compare September 3, 2026 02:59
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch 2 times, most recently from b2dc83b to cd0b6bb Compare September 16, 2026 04:01
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch 2 times, most recently from 8cce327 to 0a6e57f Compare September 28, 2026 01:19
@red-hat-konflux red-hat-konflux Bot changed the title Update dependency golangci/golangci-lint to v2.13.2 Update dependency golangci/golangci-lint to v2.14.0 Sep 28, 2026
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from 0a6e57f to 79212c1 Compare September 30, 2026 02:12
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 2:13 AM UTC · Completed 2:26 AM UTC

Commit: 79212c1 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.69

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Sep 30, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Identical Tier 1 signals to prior review — single CI workflow file, 2 lines, bot-authored, PROTECTED_PATH_COUNT=1 and CI_WORKFLOW_CHANGED=true remain the only elevated risk dimensions; re-review anchoring preserves the prior score of 2 (moderate) as no signals changed.

Previous run

Risk Assessment: moderate (2/5)

Details

Minimal 1-file/2-line bot-authored dependency bump to a CI workflow; the only notable risk signal is the CI_WORKFLOW_CHANGED flag and its presence in a protected path, which lifts the score slightly above low.

fullsend-ai-review[bot]

This comment was marked as outdated.

@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from 79212c1 to 6850138 Compare October 2, 2026 01:58
@fullsend-ai-review

fullsend-ai-review Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 1:59 AM UTC · Completed 2:12 AM UTC

Commit: 6850138 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.07

@fullsend-ai-review fullsend-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

See the review comment for full details.

Comment thread .github/workflows/pr.yaml Outdated
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1
with:
version: v2.12
version: v2.14.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] version-skew

The CI workflow now uses golangci-lint v2.14.0 (line 23 of pr.yaml), but the Makefile (line 218) still defines GOLANGCI_LINT_VERSION ?= v2.12.2. This version skew means developers running make lint locally use a different golangci-lint version than CI. A rule or behavior change between v2.12.2 and v2.14.0 could cause CI to fail on code that passes locally, or vice versa.

Suggested fix: Update GOLANGCI_LINT_VERSION in the Makefile (line 218) from v2.12.2 to v2.14.0 to keep CI and local development in sync.

@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch 2 times, most recently from 41c0be1 to fec72f1 Compare October 8, 2026 01:30
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from fec72f1 to 29eedd1 Compare October 20, 2026 02:03
@red-hat-konflux red-hat-konflux Bot changed the title Update dependency golangci/golangci-lint to v2.14.0 Update dependency golangci/golangci-lint to v2.15.0 Oct 20, 2026
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch 3 times, most recently from a81e89d to ea953f7 Compare October 27, 2026 03:20
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch 2 times, most recently from f405e9c to 800b948 Compare November 7, 2026 01:24
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from 800b948 to c1b8ba4 Compare November 10, 2026 03:14
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from c1b8ba4 to aa423cd Compare November 25, 2026 02:05
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from aa423cd to 4a798fd Compare December 2, 2026 04:23
@red-hat-konflux red-hat-konflux Bot changed the title Update dependency golangci/golangci-lint to v2.15.0 Update dependency golangci/golangci-lint to v2.15 Dec 2, 2026
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/main/golangci-golangci-lint-2.x branch from 4a798fd to 69bb4fb Compare December 4, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk/moderate PR risk: moderate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants