[tools] go/analysis/passes/modernize: disable BLoop analyzer

5 views
Skip to first unread message

Madeline Kalil (Gerrit)

unread,
Dec 22, 2025, 2:10:35 PM (2 days ago) Dec 22
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Madeline Kalil has uploaded the change for review

Commit message

go/analysis/passes/modernize: disable BLoop analyzer

When b.N is used to benchmark very small workloads,
the suggestion to use b.Loop may result in an increased
overhead that skews benchmark results. Since we cannot
accurately identify such workloads, we unfortunately
should just disable the b.Loop modernizer entirely.

Fixes golang/go#74967
Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255

Change diff

diff --git a/go/analysis/passes/modernize/modernize.go b/go/analysis/passes/modernize/modernize.go
index da988a7..27e8d58 100644
--- a/go/analysis/passes/modernize/modernize.go
+++ b/go/analysis/passes/modernize/modernize.go
@@ -34,7 +34,7 @@
var Suite = []*analysis.Analyzer{
AnyAnalyzer,
// AppendClippedAnalyzer, // not nil-preserving!
- BLoopAnalyzer,
+ // BLoopAnalyzer, // may skew benchmark results, see golang/go#74967
FmtAppendfAnalyzer,
ForVarAnalyzer,
MapsLoopAnalyzer,

Change information

Files:
  • M go/analysis/passes/modernize/modernize.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
Gerrit-Change-Number: 731962
Gerrit-PatchSet: 1
Gerrit-Owner: Madeline Kalil <mka...@google.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Madeline Kalil (Gerrit)

unread,
Dec 22, 2025, 2:11:02 PM (2 days ago) Dec 22
to goph...@pubsubhelper.golang.org, Alan Donovan, golang-co...@googlegroups.com
Attention needed from Alan Donovan

Madeline Kalil voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Alan Donovan
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
Gerrit-Change-Number: 731962
Gerrit-PatchSet: 1
Gerrit-Owner: Madeline Kalil <mka...@google.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Madeline Kalil <mka...@google.com>
Gerrit-Attention: Alan Donovan <adon...@google.com>
Gerrit-Comment-Date: Mon, 22 Dec 2025 19:10:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Alan Donovan (Gerrit)

unread,
Dec 22, 2025, 2:30:32 PM (2 days ago) Dec 22
to Madeline Kalil, goph...@pubsubhelper.golang.org, Go LUCI, golang-co...@googlegroups.com
Attention needed from Madeline Kalil

Alan Donovan added 2 comments

Commit Message
Line 13, Patchset 1 (Latest):should just disable the b.Loop modernizer entirely.
Alan Donovan . unresolved

...entirely in the go fix suite.

We should probably mention both here and in gopls/internal/settings/analysis.go that it's ok to leave it enabled in gopls since it's interactive, and thus subject to programmer scrutiny.

This CL will need to be cherrypicked to the go1.26 release branch.

File go/analysis/passes/modernize/modernize.go
Line 37, Patchset 1 (Latest): // BLoopAnalyzer, // may skew benchmark results, see golang/go#74967
Alan Donovan . unresolved

Let's update the bloop entry in doc.go to mention that its fix may change the performance of nanosecond-scale benchmarks and for this reason bloop is not enabled by default in the go fix suite.

Open in Gerrit

Related details

Attention is currently required from:
  • Madeline Kalil
Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: tools
    Gerrit-Branch: master
    Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
    Gerrit-Change-Number: 731962
    Gerrit-PatchSet: 1
    Gerrit-Owner: Madeline Kalil <mka...@google.com>
    Gerrit-Reviewer: Alan Donovan <adon...@google.com>
    Gerrit-Reviewer: Madeline Kalil <mka...@google.com>
    Gerrit-Attention: Madeline Kalil <mka...@google.com>
    Gerrit-Comment-Date: Mon, 22 Dec 2025 19:30:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Madeline Kalil (Gerrit)

    unread,
    Dec 22, 2025, 6:20:48 PM (2 days ago) Dec 22
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
    Attention needed from Madeline Kalil

    Madeline Kalil uploaded new patchset

    Madeline Kalil uploaded patch set #2 to this change.
    Following approvals got outdated and were removed:
    • TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Madeline Kalil
    Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: newpatchset
      Gerrit-Project: tools
      Gerrit-Branch: master
      Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
      Gerrit-Change-Number: 731962
      Gerrit-PatchSet: 2
      unsatisfied_requirement
      open
      diffy

      Madeline Kalil (Gerrit)

      unread,
      Dec 22, 2025, 6:24:34 PM (2 days ago) Dec 22
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Madeline Kalil

      Madeline Kalil uploaded new patchset

      Madeline Kalil uploaded patch set #3 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Madeline Kalil
      Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: newpatchset
      Gerrit-Project: tools
      Gerrit-Branch: master
      Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
      Gerrit-Change-Number: 731962
      Gerrit-PatchSet: 3
      unsatisfied_requirement
      open
      diffy

      Madeline Kalil (Gerrit)

      unread,
      Dec 22, 2025, 6:25:26 PM (2 days ago) Dec 22
      to goph...@pubsubhelper.golang.org, Go LUCI, Alan Donovan, golang-co...@googlegroups.com
      Attention needed from Alan Donovan

      Madeline Kalil voted and added 2 comments

      Votes added by Madeline Kalil

      Commit-Queue+1

      2 comments

      Commit Message
      Line 13, Patchset 1:should just disable the b.Loop modernizer entirely.
      Alan Donovan . resolved

      ...entirely in the go fix suite.

      We should probably mention both here and in gopls/internal/settings/analysis.go that it's ok to leave it enabled in gopls since it's interactive, and thus subject to programmer scrutiny.

      This CL will need to be cherrypicked to the go1.26 release branch.

      Madeline Kalil

      Thanks, will do.

      File go/analysis/passes/modernize/modernize.go
      Line 37, Patchset 1: // BLoopAnalyzer, // may skew benchmark results, see golang/go#74967
      Alan Donovan . resolved

      Let's update the bloop entry in doc.go to mention that its fix may change the performance of nanosecond-scale benchmarks and for this reason bloop is not enabled by default in the go fix suite.

      Madeline Kalil

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alan Donovan
      Submit Requirements:
        • requirement is not satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        • requirement is not satisfiedTryBots-Pass
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: tools
        Gerrit-Branch: master
        Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
        Gerrit-Change-Number: 731962
        Gerrit-PatchSet: 3
        Gerrit-Owner: Madeline Kalil <mka...@google.com>
        Gerrit-Reviewer: Alan Donovan <adon...@google.com>
        Gerrit-Reviewer: Madeline Kalil <mka...@google.com>
        Gerrit-Attention: Alan Donovan <adon...@google.com>
        Gerrit-Comment-Date: Mon, 22 Dec 2025 23:25:22 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Comment-In-Reply-To: Alan Donovan <adon...@google.com>
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Madeline Kalil (Gerrit)

        unread,
        Dec 22, 2025, 6:35:55 PM (2 days ago) Dec 22
        to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
        Attention needed from Alan Donovan and Madeline Kalil

        Madeline Kalil uploaded new patchset

        Madeline Kalil uploaded patch set #4 to this change.
        Following approvals got outdated and were removed:
        • TryBots-Pass: LUCI-TryBot-Result-1 by Go LUCI
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Alan Donovan
        • Madeline Kalil
        Submit Requirements:
        • requirement is not satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        • requirement is not satisfiedTryBots-Pass
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: newpatchset
        Gerrit-Project: tools
        Gerrit-Branch: master
        Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
        Gerrit-Change-Number: 731962
        Gerrit-PatchSet: 4
        Gerrit-Owner: Madeline Kalil <mka...@google.com>
        Gerrit-Reviewer: Alan Donovan <adon...@google.com>
        Gerrit-Reviewer: Madeline Kalil <mka...@google.com>
        Gerrit-Attention: Madeline Kalil <mka...@google.com>
        Gerrit-Attention: Alan Donovan <adon...@google.com>
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Madeline Kalil (Gerrit)

        unread,
        Dec 22, 2025, 6:36:02 PM (2 days ago) Dec 22
        to goph...@pubsubhelper.golang.org, Go LUCI, Alan Donovan, golang-co...@googlegroups.com
        Attention needed from Alan Donovan

        Madeline Kalil voted Commit-Queue+1

        Commit-Queue+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Alan Donovan
        Submit Requirements:
        • requirement is not satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        • requirement is not satisfiedTryBots-Pass
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: tools
        Gerrit-Branch: master
        Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
        Gerrit-Change-Number: 731962
        Gerrit-PatchSet: 4
        Gerrit-Owner: Madeline Kalil <mka...@google.com>
        Gerrit-Reviewer: Alan Donovan <adon...@google.com>
        Gerrit-Reviewer: Madeline Kalil <mka...@google.com>
        Gerrit-Attention: Alan Donovan <adon...@google.com>
        Gerrit-Comment-Date: Mon, 22 Dec 2025 23:35:59 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Alan Donovan (Gerrit)

        unread,
        Dec 22, 2025, 10:01:39 PM (2 days ago) Dec 22
        to Madeline Kalil, goph...@pubsubhelper.golang.org, Go LUCI, golang-co...@googlegroups.com
        Attention needed from Madeline Kalil

        Alan Donovan voted and added 1 comment

        Votes added by Alan Donovan

        Auto-Submit+1
        Code-Review+2
        Commit-Queue+1

        1 comment

        Patchset-level comments
        File-level comment, Patchset 4 (Latest):
        Alan Donovan . resolved

        Thanks!

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Madeline Kalil
        Submit Requirements:
        • requirement satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement satisfiedReview-Enforcement
        • requirement satisfiedTryBots-Pass
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: tools
        Gerrit-Branch: master
        Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
        Gerrit-Change-Number: 731962
        Gerrit-PatchSet: 4
        Gerrit-Owner: Madeline Kalil <mka...@google.com>
        Gerrit-Reviewer: Alan Donovan <adon...@google.com>
        Gerrit-Reviewer: Madeline Kalil <mka...@google.com>
        Gerrit-Attention: Madeline Kalil <mka...@google.com>
        Gerrit-Comment-Date: Tue, 23 Dec 2025 03:01:36 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Alan Donovan (Gerrit)

        unread,
        Dec 22, 2025, 10:01:45 PM (2 days ago) Dec 22
        to Madeline Kalil, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Go LUCI, golang-co...@googlegroups.com

        Alan Donovan submitted the change

        Change information

        Commit message:
        go/analysis/passes/modernize: disable BLoop analyzer

        When b.N is used to benchmark very small workloads,
        the suggestion to use b.Loop may result in an increased
        overhead that skews benchmark results. Since we cannot
        accurately identify such workloads, we unfortunately
        should just disable the b.Loop modernizer in the "go
        fix" suite.

        We leave the modernize enabled in gopls because
        it is interactive and programmers will scrutinize
        the edits.

        Fixes golang/go#74967
        Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
        Commit-Queue: Alan Donovan <adon...@google.com>
        Reviewed-by: Alan Donovan <adon...@google.com>
        Auto-Submit: Alan Donovan <adon...@google.com>
        Files:
        • M go/analysis/passes/modernize/doc.go
        • M go/analysis/passes/modernize/modernize.go
        • M gopls/doc/analyzers.md
        • M gopls/internal/doc/api.json
        Change size: S
        Delta: 4 files changed, 6 insertions(+), 4 deletions(-)
        Branch: refs/heads/master
        Submit Requirements:
        • requirement satisfiedCode-Review: +2 by Alan Donovan
        • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
        Open in Gerrit
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: merged
        Gerrit-Project: tools
        Gerrit-Branch: master
        Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
        Gerrit-Change-Number: 731962
        Gerrit-PatchSet: 5
        open
        diffy
        satisfied_requirement

        Madeline Kalil (Gerrit)

        unread,
        Dec 23, 2025, 11:25:03 AM (yesterday) Dec 23
        to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

        Madeline Kalil has uploaded the change for review

        Commit message

        go/analysis/passes/modernize: disable BLoop analyzer

        When b.N is used to benchmark very small workloads,
        the suggestion to use b.Loop may result in an increased
        overhead that skews benchmark results. Since we cannot
        accurately identify such workloads, we unfortunately
        should just disable the b.Loop modernizer in the "go
        fix" suite.

        We leave the modernize enabled in gopls because
        it is interactive and programmers will scrutinize
        the edits.

        Fixes golang/go#74967

        Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
        Reviewed-on: https://go-review.googlesource.com/c/tools/+/731962
        Commit-Queue: Alan Donovan <adon...@google.com>
        Reviewed-by: Alan Donovan <adon...@google.com>
        LUCI-TryBot-Result: Go LUCI <golang...@luci-project-accounts.iam.gserviceaccount.com>
        Auto-Submit: Alan Donovan <adon...@google.com>
        (cherry picked from commit 267fc6b81a168aa829f97c9209c2cacb503a56f2)

        Change diff

        diff --git a/go/analysis/passes/modernize/doc.go b/go/analysis/passes/modernize/doc.go
        index 45aed79..f1202c7 100644
        --- a/go/analysis/passes/modernize/doc.go
        +++ b/go/analysis/passes/modernize/doc.go
        @@ -80,6 +80,8 @@
        Caveats: The b.Loop() method is designed to prevent the compiler from
        optimizing away the benchmark loop, which can occasionally result in
        slower execution due to increased allocations in some specific cases.
        +Since its fix may change the performance of nanosecond-scale benchmarks,
        +bloop is disabled by default in the `go fix` analyzer suite; see golang/go#74967.

        # Analyzer any

        diff --git a/go/analysis/passes/modernize/modernize.go b/go/analysis/passes/modernize/modernize.go
        index 013ce79..f09a2d2 100644

        --- a/go/analysis/passes/modernize/modernize.go
        +++ b/go/analysis/passes/modernize/modernize.go
        @@ -34,7 +34,7 @@
        var Suite = []*analysis.Analyzer{
        AnyAnalyzer,
        // AppendClippedAnalyzer, // not nil-preserving!
        - BLoopAnalyzer,
        +	// BLoopAnalyzer, // may skew benchmark results, see golang/go#74967
        FmtAppendfAnalyzer,
        ForVarAnalyzer,
        MapsLoopAnalyzer,
        diff --git a/gopls/doc/analyzers.md b/gopls/doc/analyzers.md
        index ddb4a1e..05bd059 100644
        --- a/gopls/doc/analyzers.md
        +++ b/gopls/doc/analyzers.md
        @@ -2952,7 +2952,7 @@

        This change makes benchmark code more readable and also removes the need for manual timer control, so any preceding calls to b.StartTimer, b.StopTimer, or b.ResetTimer within the same function will also be removed.

        -Caveats: The b.Loop() method is designed to prevent the compiler from optimizing away the benchmark loop, which can occasionally result in slower execution due to increased allocations in some specific cases.
        +Caveats: The b.Loop() method is designed to prevent the compiler from optimizing away the benchmark loop, which can occasionally result in slower execution due to increased allocations in some specific cases. Since its fix may change the performance of nanosecond-scale benchmarks, bloop is disabled by default in the \`go fix\` analyzer suite; see golang/go#74967.


        Default: on.
        diff --git a/gopls/internal/doc/api.json b/gopls/internal/doc/api.json
        index e4f7262..84cd42b 100644
        --- a/gopls/internal/doc/api.json
        +++ b/gopls/internal/doc/api.json
        @@ -1384,7 +1384,7 @@
        },
        {
        "Name": "\"bloop\"",
        - "Doc": "replace for-range over b.N with b.Loop\n\nThe bloop analyzer suggests replacing benchmark loops of the form\n`for i := 0; i \u003c b.N; i++` or `for range b.N` with the more modern\n`for b.Loop()`, which was added in Go 1.24.\n\nThis change makes benchmark code more readable and also removes the need for\nmanual timer control, so any preceding calls to b.StartTimer, b.StopTimer,\nor b.ResetTimer within the same function will also be removed.\n\nCaveats: The b.Loop() method is designed to prevent the compiler from\noptimizing away the benchmark loop, which can occasionally result in\nslower execution due to increased allocations in some specific cases.",
        + "Doc": "replace for-range over b.N with b.Loop\n\nThe bloop analyzer suggests replacing benchmark loops of the form\n`for i := 0; i \u003c b.N; i++` or `for range b.N` with the more modern\n`for b.Loop()`, which was added in Go 1.24.\n\nThis change makes benchmark code more readable and also removes the need for\nmanual timer control, so any preceding calls to b.StartTimer, b.StopTimer,\nor b.ResetTimer within the same function will also be removed.\n\nCaveats: The b.Loop() method is designed to prevent the compiler from\noptimizing away the benchmark loop, which can occasionally result in\nslower execution due to increased allocations in some specific cases.\nSince its fix may change the performance of nanosecond-scale benchmarks,\nbloop is disabled by default in the `go fix` analyzer suite; see golang/go#74967.",
        "Default": "true",
        "Status": ""
        },
        @@ -3287,7 +3287,7 @@
        },
        {
        "Name": "bloop",
        - "Doc": "replace for-range over b.N with b.Loop\n\nThe bloop analyzer suggests replacing benchmark loops of the form\n`for i := 0; i \u003c b.N; i++` or `for range b.N` with the more modern\n`for b.Loop()`, which was added in Go 1.24.\n\nThis change makes benchmark code more readable and also removes the need for\nmanual timer control, so any preceding calls to b.StartTimer, b.StopTimer,\nor b.ResetTimer within the same function will also be removed.\n\nCaveats: The b.Loop() method is designed to prevent the compiler from\noptimizing away the benchmark loop, which can occasionally result in\nslower execution due to increased allocations in some specific cases.",
        + "Doc": "replace for-range over b.N with b.Loop\n\nThe bloop analyzer suggests replacing benchmark loops of the form\n`for i := 0; i \u003c b.N; i++` or `for range b.N` with the more modern\n`for b.Loop()`, which was added in Go 1.24.\n\nThis change makes benchmark code more readable and also removes the need for\nmanual timer control, so any preceding calls to b.StartTimer, b.StopTimer,\nor b.ResetTimer within the same function will also be removed.\n\nCaveats: The b.Loop() method is designed to prevent the compiler from\noptimizing away the benchmark loop, which can occasionally result in\nslower execution due to increased allocations in some specific cases.\nSince its fix may change the performance of nanosecond-scale benchmarks,\nbloop is disabled by default in the `go fix` analyzer suite; see golang/go#74967.",
        "URL": "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/modernize#bloop",
        "Default": true
        },

        Change information

        Files:
        • M go/analysis/passes/modernize/doc.go
        • M go/analysis/passes/modernize/modernize.go
        • M gopls/doc/analyzers.md
        • M gopls/internal/doc/api.json
        Change size: S
        Delta: 4 files changed, 6 insertions(+), 4 deletions(-)
        Open in Gerrit

        Related details

        Attention set is empty
        Submit Requirements:
        • requirement is not satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        • requirement is not satisfiedTryBots-Pass
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: newchange
        Gerrit-Project: tools
        Gerrit-Branch: internal-branch.go1.26-vendor
        Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
        Gerrit-Change-Number: 732260
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Madeline Kalil (Gerrit)

        unread,
        Dec 23, 2025, 11:25:18 AM (yesterday) Dec 23
        to goph...@pubsubhelper.golang.org, Alan Donovan, golang-co...@googlegroups.com
        Attention needed from Alan Donovan

        Madeline Kalil voted Commit-Queue+1

        Commit-Queue+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Alan Donovan
        Submit Requirements:
        • requirement is not satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        • requirement is not satisfiedTryBots-Pass
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: tools
        Gerrit-Branch: internal-branch.go1.26-vendor
        Gerrit-Change-Id: I011a167feb865fee6a61cf611aeecb70b285f255
        Gerrit-Change-Number: 732260
        Gerrit-PatchSet: 1
        Gerrit-Owner: Madeline Kalil <mka...@google.com>
        Gerrit-Reviewer: Alan Donovan <adon...@google.com>
        Gerrit-Reviewer: Madeline Kalil <mka...@google.com>
        Gerrit-Attention: Alan Donovan <adon...@google.com>
        Gerrit-Comment-Date: Tue, 23 Dec 2025 16:25:14 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages