Skip to content

Update module github.com/golangci/golangci-lint/v2 to v2.11.4#50401

Open
renovate[bot] wants to merge 2 commits intomainfrom
renovate/github.com-golangci-golangci-lint-v2-2.x
Open

Update module github.com/golangci/golangci-lint/v2 to v2.11.4#50401
renovate[bot] wants to merge 2 commits intomainfrom
renovate/github.com-golangci-golangci-lint-v2-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 5, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/golangci/golangci-lint/v2 v2.9.0v2.11.4 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

golangci/golangci-lint (github.com/golangci/golangci-lint/v2)

v2.11.4

Compare Source

Released on 2026-03-22

  1. Linters bug fixes
    • govet-modernize: from 0.42.0 to 0.43.0
    • noctx: from 0.5.0 to 0.5.1
    • sqlclosecheck: from 0.5.1 to 0.6.0

v2.11.3

Compare Source

Released on 2026-03-10

  1. Linters bug fixes

v2.11.2

Compare Source

Released on 2026-03-07

  1. Fixes
    • fmt: fix error when using the fmt command with explicit paths.

v2.11.1

Compare Source

Released on 2026-03-06

Due to an error related to AUR, some artifacts of the v2.11.0 release have not been published.

This release contains the same things as v2.11.0.

v2.11.0

Compare Source

Released on 2026-03-06

  1. Linters new features or changes
    • errcheck: from 1.9.0 to 1.10.0 (exclude crypto/rand.Read by default)
    • gosec: from 2.23.0 to 2.24.6 (new rules: G113, G118, G119, G120, G121, G122, G123, G408, G707)
    • noctx: from 0.4.0 to 0.5.0 (new detection: httptest.NewRequestWithContext)
    • prealloc: from 1.0.2 to 1.1.0
    • revive: from 1.14.0 to 1.15.0 (⚠️ Breaking change: package-related checks moved from var-naming to a new rule package-naming)
  2. Linters bug fixes
    • gocognit: from 1.2.0 to 1.2.1
    • gosec: from 2.24.6 to 2.24.7
    • unqueryvet: from 1.5.3 to 1.5.4

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

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

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

Rebasing: Whenever PR becomes conflicted, 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 renovate Bot added changelog/no-changelog No changelog entry needed dependencies PRs that bump a dependency dependencies-go PRs that bump a go dependency qa/no-code-change No code change in Agent code requiring validation labels May 5, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 5, 2026

ℹ️ Artifact update notice

File name: internal/tools/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 13 additional dependencies were updated

Details:

Package Change
github.com/MirrexOne/unqueryvet v1.5.3 -> v1.5.4
github.com/alexkohler/prealloc v1.0.2 -> v1.1.0
github.com/godoc-lint/godoc-lint v0.11.1 -> v0.11.2
github.com/kisielk/errcheck v1.9.0 -> v1.10.0
github.com/mgechev/revive v1.14.0 -> v1.15.0
github.com/nunnatsa/ginkgolinter v0.22.0 -> v0.23.0
github.com/onsi/ginkgo/v2 v2.28.0 -> v2.28.1
github.com/ryanrolds/sqlclosecheck v0.5.1 -> v0.6.0
github.com/securego/gosec/v2 v2.22.11 -> v2.24.8-0.20260309165252-619ce2117e08
github.com/sonatard/noctx v0.4.0 -> v0.5.1
github.com/uudashr/gocognit v1.2.0 -> v1.2.1
golang.org/x/exp/typeparams v0.0.0-20251125195548-87e1e737ad39 -> v0.0.0-20260209203927-2842357ff358
honnef.co/go/tools v0.6.1 -> v0.7.0

@dd-octo-sts dd-octo-sts Bot added the internal Identify a non-fork PR label May 5, 2026
@github-actions github-actions Bot added the short review PR is simple enough to be reviewed quickly label May 5, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

github.com/golangci/golangci-lint/v2 v2.11.4/go.mod h1:ODQDCASMA3VqfZYIbbQLpTRTzV7O/vjmIRF6u8NyFwI=

P1 Badge Add module checksum for golangci-lint v2.11.4

This update bumps github.com/golangci/golangci-lint/v2 in internal/tools/go.mod, but internal/tools/go.sum only adds the v2.11.4/go.mod hash and not the module hash (v2.11.4 h1:...), while the old v2.9.0 module hash remains. In clean environments, go install of github.com/golangci/golangci-lint/v2/cmd/golangci-lint (used by tasks/install_tasks.py) can then fail with a missing go.sum entry under readonly module semantics, breaking tool installation/lint jobs.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@dd-prapprover
Copy link
Copy Markdown

dd-prapprover Bot commented May 5, 2026

PRApprover will approve and merge this PR, FAQ, #dx-source-code-management

🛠️ PRApproval Status

  • ✅ PR is eligible for auto-approval by rule datadog-agent-renovate - 2026-05-07T08:44:37Z
  • ⬜ CI tests passed
  • ⬜ Approved
  • ⬜ Merge Started
  • ⬜ Merged

➡️ Current phase: waiting for CI tests to complete...

@github-actions github-actions Bot added medium review PR review might take time and removed short review PR is simple enough to be reviewed quickly labels May 5, 2026
@datadog-prod-us1-6
Copy link
Copy Markdown

datadog-prod-us1-6 Bot commented May 5, 2026

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 50.26% (+0.13%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: c06ed47 | Docs | Datadog PR Page | Give us feedback!

@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 5, 2026

Files inventory check summary

File checks results against ancestor 09a1f426:

Results for datadog-agent_7.80.0~devel.git.509.80ffac9.pipeline.111693854-1_amd64.deb:

No change detected

@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 5, 2026

Static quality checks

✅ Please find below the results from static quality gates
Comparison made with ancestor 09a1f42
📊 Static Quality Gates Dashboard
🔗 SQG Job

32 successful checks with minimal change (< 2 KiB)
Quality gate Current Size
agent_deb_amd64 742.253 MiB
agent_deb_amd64_fips 700.315 MiB
agent_heroku_amd64 309.178 MiB
agent_rpm_amd64 742.236 MiB
agent_rpm_amd64_fips 700.299 MiB
agent_rpm_arm64 720.159 MiB
agent_rpm_arm64_fips 681.324 MiB
agent_suse_amd64 742.236 MiB
agent_suse_amd64_fips 700.299 MiB
agent_suse_arm64 720.159 MiB
agent_suse_arm64_fips 681.324 MiB
docker_agent_amd64 802.491 MiB
docker_agent_arm64 805.258 MiB
docker_agent_jmx_amd64 993.411 MiB
docker_agent_jmx_arm64 984.956 MiB
docker_cluster_agent_amd64 206.607 MiB
docker_cluster_agent_arm64 220.634 MiB
docker_cws_instrumentation_amd64 7.142 MiB
docker_cws_instrumentation_arm64 6.689 MiB
docker_host_profiler_amd64 301.580 MiB
docker_host_profiler_arm64 313.059 MiB
docker_dogstatsd_amd64 39.496 MiB
docker_dogstatsd_arm64 37.690 MiB
dogstatsd_deb_amd64 30.149 MiB
dogstatsd_deb_arm64 28.279 MiB
dogstatsd_rpm_amd64 30.149 MiB
dogstatsd_suse_amd64 30.149 MiB
iot_agent_deb_amd64 44.462 MiB
iot_agent_deb_arm64 41.442 MiB
iot_agent_deb_armhf 42.183 MiB
iot_agent_rpm_amd64 44.462 MiB
iot_agent_suse_amd64 44.462 MiB
On-wire sizes (compressed)
Quality gate Change Size (prev → curr → max)
agent_deb_amd64 +4.46 KiB (0.00% increase) 175.712 → 175.717 → 179.160
agent_deb_amd64_fips +26.84 KiB (0.02% increase) 167.437 → 167.463 → 174.440
agent_heroku_amd64 neutral 74.986 MiB → 80.310
agent_rpm_amd64 +15.05 KiB (0.01% increase) 177.775 → 177.790 → 182.080
agent_rpm_amd64_fips -3.93 KiB (0.00% reduction) 168.782 → 168.778 → 174.140
agent_rpm_arm64 neutral 159.807 MiB → 163.610
agent_rpm_arm64_fips +17.45 KiB (0.01% increase) 152.101 → 152.118 → 156.850
agent_suse_amd64 +15.05 KiB (0.01% increase) 177.775 → 177.790 → 182.080
agent_suse_amd64_fips -3.93 KiB (0.00% reduction) 168.782 → 168.778 → 174.140
agent_suse_arm64 neutral 159.807 MiB → 163.610
agent_suse_arm64_fips +17.45 KiB (0.01% increase) 152.101 → 152.118 → 156.850
docker_agent_amd64 neutral 268.265 MiB → 272.990
docker_agent_arm64 neutral 255.277 MiB → 261.470
docker_agent_jmx_amd64 neutral 336.913 MiB → 341.610
docker_agent_jmx_arm64 +4.7 KiB (0.00% increase) 319.920 → 319.924 → 326.050
docker_cluster_agent_amd64 neutral 72.428 MiB → 73.460
docker_cluster_agent_arm64 neutral 67.889 MiB → 68.680
docker_cws_instrumentation_amd64 neutral 2.999 MiB → 3.330
docker_cws_instrumentation_arm64 neutral 2.729 MiB → 3.090
docker_host_profiler_amd64 neutral 110.867 MiB → 125.600
docker_host_profiler_arm64 neutral 105.193 MiB → 120.000
docker_dogstatsd_amd64 neutral 15.286 MiB → 15.870
docker_dogstatsd_arm64 neutral 14.597 MiB → 14.890
dogstatsd_deb_amd64 neutral 7.978 MiB → 8.830
dogstatsd_deb_arm64 neutral 6.857 MiB → 7.750
dogstatsd_rpm_amd64 neutral 7.987 MiB → 8.840
dogstatsd_suse_amd64 neutral 7.987 MiB → 8.840
iot_agent_deb_amd64 -2.16 KiB (0.02% reduction) 11.704 → 11.702 → 13.210
iot_agent_deb_arm64 -2.0 KiB (0.02% reduction) 9.999 → 9.997 → 11.620
iot_agent_deb_armhf neutral 10.209 MiB → 11.780
iot_agent_rpm_amd64 neutral 11.719 MiB → 13.230
iot_agent_suse_amd64 neutral 11.719 MiB → 13.230

@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da Bot commented May 5, 2026

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: d78c22e6-db0c-4624-8ac6-4c26ec029d98

Baseline: b182c4f
Comparison: 80ffac9
Diff

Optimization Goals: ✅ No significant changes detected

Experiments ignored for regressions

Regressions in experiments with settings containing erratic: true are ignored.

perf experiment goal Δ mean % Δ mean % CI trials links
docker_containers_cpu % cpu utilization +1.09 [-1.89, +4.07] 1 Logs

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
quality_gate_metrics_logs memory utilization +2.60 [+2.34, +2.86] 1 Logs bounds checks dashboard
docker_containers_cpu % cpu utilization +1.09 [-1.89, +4.07] 1 Logs
quality_gate_logs % cpu utilization +0.79 [-0.19, +1.77] 1 Logs bounds checks dashboard
ddot_metrics_sum_delta memory utilization +0.42 [+0.23, +0.61] 1 Logs
otlp_ingest_metrics memory utilization +0.26 [+0.10, +0.42] 1 Logs
tcp_syslog_to_blackhole ingress throughput +0.19 [-0.01, +0.39] 1 Logs
ddot_metrics_sum_cumulativetodelta_exporter memory utilization +0.18 [-0.06, +0.42] 1 Logs
quality_gate_idle_all_features memory utilization +0.06 [+0.01, +0.10] 1 Logs bounds checks dashboard
uds_dogstatsd_to_api_v3 ingress throughput +0.02 [-0.19, +0.23] 1 Logs
file_to_blackhole_1000ms_latency egress throughput +0.02 [-0.42, +0.46] 1 Logs
uds_dogstatsd_to_api ingress throughput +0.01 [-0.19, +0.21] 1 Logs
file_to_blackhole_100ms_latency egress throughput -0.00 [-0.15, +0.14] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput -0.00 [-0.10, +0.09] 1 Logs
file_to_blackhole_500ms_latency egress throughput -0.07 [-0.49, +0.34] 1 Logs
file_to_blackhole_0ms_latency egress throughput -0.08 [-0.59, +0.43] 1 Logs
ddot_metrics memory utilization -0.17 [-0.37, +0.04] 1 Logs
otlp_ingest_logs memory utilization -0.19 [-0.29, -0.10] 1 Logs
ddot_metrics_sum_cumulative memory utilization -0.25 [-0.41, -0.09] 1 Logs
quality_gate_idle memory utilization -0.27 [-0.32, -0.22] 1 Logs bounds checks dashboard
uds_dogstatsd_20mb_12k_contexts_20_senders memory utilization -0.33 [-0.39, -0.28] 1 Logs
ddot_logs memory utilization -0.50 [-0.56, -0.44] 1 Logs
file_tree memory utilization -0.62 [-0.67, -0.56] 1 Logs
docker_containers_memory memory utilization -0.77 [-0.87, -0.67] 1 Logs

Bounds Checks: ✅ Passed

perf experiment bounds_check_name replicates_passed observed_value links
docker_containers_cpu simple_check_run 10/10 741 ≥ 26
docker_containers_memory memory_usage 10/10 243.40MiB ≤ 370MiB
docker_containers_memory simple_check_run 10/10 591 ≥ 26
file_to_blackhole_0ms_latency memory_usage 10/10 0.16GiB ≤ 1.20GiB
file_to_blackhole_0ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_1000ms_latency memory_usage 10/10 0.20GiB ≤ 1.20GiB
file_to_blackhole_1000ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_100ms_latency memory_usage 10/10 0.17GiB ≤ 1.20GiB
file_to_blackhole_100ms_latency missed_bytes 10/10 0B = 0B
file_to_blackhole_500ms_latency memory_usage 10/10 0.18GiB ≤ 1.20GiB
file_to_blackhole_500ms_latency missed_bytes 10/10 0B = 0B
quality_gate_idle intake_connections 10/10 3 ≤ 4 bounds checks dashboard
quality_gate_idle memory_usage 10/10 139.39MiB ≤ 147MiB bounds checks dashboard
quality_gate_idle_all_features intake_connections 10/10 3 ≤ 4 bounds checks dashboard
quality_gate_idle_all_features memory_usage 10/10 467.17MiB ≤ 495MiB bounds checks dashboard
quality_gate_logs intake_connections 10/10 4 ≤ 6 bounds checks dashboard
quality_gate_logs memory_usage 10/10 172.74MiB ≤ 195MiB bounds checks dashboard
quality_gate_logs missed_bytes 10/10 0B = 0B bounds checks dashboard
quality_gate_metrics_logs cpu_usage 10/10 356.13 ≤ 2000 bounds checks dashboard
quality_gate_metrics_logs intake_connections 10/10 3 ≤ 6 bounds checks dashboard
quality_gate_metrics_logs memory_usage 10/10 381.29MiB ≤ 430MiB bounds checks dashboard
quality_gate_metrics_logs missed_bytes 10/10 0B = 0B bounds checks dashboard

Explanation

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

CI Pass/Fail Decision

Passed. All Quality Gates passed.

  • quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check missed_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_metrics_logs, bounds check cpu_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check intake_connections: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check missed_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check intake_connections: 10/10 replicas passed. Gate passed.

@renovate renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 6b22936 to 60d36dc Compare May 6, 2026 10:01
@github-actions github-actions Bot added short review PR is simple enough to be reviewed quickly medium review PR review might take time and removed medium review PR review might take time short review PR is simple enough to be reviewed quickly labels May 6, 2026
@renovate renovate Bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 80ffac9 to 63473d0 Compare May 7, 2026 08:44
@github-actions github-actions Bot added short review PR is simple enough to be reviewed quickly and removed medium review PR review might take time labels May 7, 2026
This commit was created from the local commit with hash 77d2c6486f7a1cf002e63b5671b2754ed6026fe0.
@github-actions github-actions Bot added medium review PR review might take time and removed short review PR is simple enough to be reviewed quickly labels May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed dependencies PRs that bump a dependency dependencies-go PRs that bump a go dependency internal Identify a non-fork PR medium review PR review might take time qa/no-code-change No code change in Agent code requiring validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants