[pkgsite] go.mod: upgrade to go 1.23.0

232 views
Skip to first unread message

Jonathan Amsterdam (Gerrit)

unread,
Aug 30, 2024, 4:15:48 PM8/30/24
to Robert Findley, Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim and Robert Findley

Jonathan Amsterdam has uploaded the change for review

Jonathan Amsterdam would like Robert Findley and Hyang-Ah Hana Kim to review this change.

Commit message

go.mod: upgrade to go 1.23.0

The go.mod major version now matches what we use for Dockerfiles.

Use a patch release (final ".0") to cause a toolchain download
when pkgsite is the main module (like the toolchain directive).

Staticcheck is not ready for 1.23 yet, so comment it out.
Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0

Change diff

diff --git a/all.bash b/all.bash
index a8d81c2..1b99d31 100755
--- a/all.bash
+++ b/all.bash
@@ -154,7 +154,8 @@
# check_staticcheck runs staticcheck on source files.
check_staticcheck() {
ensure_go_binary honnef.co/go/tools/cmd/staticcheck
- runcmd staticcheck $(go list ./... | grep -v third_party | grep -v internal/doc | grep -v internal/render)
+ # TODO: re-enable staticcheck when it can work on Go 1.23.
+ # runcmd staticcheck $(go list ./... | grep -v third_party | grep -v internal/doc | grep -v internal/render)
}

# check_misspell runs misspell on source files.
diff --git a/go.mod b/go.mod
index b59f65e..03a775d 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module golang.org/x/pkgsite

-go 1.19
+go 1.23

require (
cloud.google.com/go/cloudtasks v1.10.0
diff --git a/go.sum b/go.sum
index af6848e..fe492be 100644
--- a/go.sum
+++ b/go.sum
@@ -556,6 +556,7 @@
github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw=
+github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
@@ -1037,6 +1038,7 @@
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark v1.6.0 h1:boZcn2GTjpsynOsC0iJHnBWa4Bi0qzfJjthwauItG68=
+github.com/yuin/goldmark v1.6.0/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/gopher-lua v0.0.0-20200816102855-ee81675732da h1:NimzV1aGyq29m5ukMK0AMWEhFaL/lrEOaephfuoiARg=
github.com/yuin/gopher-lua v0.0.0-20200816102855-ee81675732da/go.mod h1:E1AXubJBdNmFERAOucpDIxNzeGfLzg0mYh+UfMWdChA=
github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs=

Change information

Files:
  • M all.bash
  • M go.mod
  • M go.sum
Change size: XS
Delta: 3 files changed, 5 insertions(+), 2 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
  • Robert Findley
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
  • requirement is not satisfiedkokoro-CI-Passes
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
Gerrit-Change-Number: 609142
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
Gerrit-Reviewer: Robert Findley <rfin...@google.com>
Gerrit-Attention: Robert Findley <rfin...@google.com>
Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

kokoro (Gerrit)

unread,
Aug 30, 2024, 4:42:11 PM8/30/24
to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, Go LUCI, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim, Jonathan Amsterdam and Robert Findley

kokoro voted kokoro-CI+1

Kokoro presubmit build finished with status: SUCCESS
Logs at: https://source.cloud.google.com/results/invocations/babd9d02-5058-49aa-9b6c-d9d07e4cc6e1

kokoro-CI+1
Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
  • Jonathan Amsterdam
  • Robert Findley
Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement is not satisfiedTryBots-Pass
    • requirement satisfiedkokoro-CI-Passes
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pkgsite
    Gerrit-Branch: master
    Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
    Gerrit-Change-Number: 609142
    Gerrit-PatchSet: 1
    Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
    Gerrit-Reviewer: Robert Findley <rfin...@google.com>
    Gerrit-Reviewer: kokoro <noreply...@google.com>
    Gerrit-CC: kokoro <noreply...@google.com>
    Gerrit-Attention: Robert Findley <rfin...@google.com>
    Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Comment-Date: Fri, 30 Aug 2024 20:42:06 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Dmitri Shuralyov (Gerrit)

    unread,
    Aug 30, 2024, 4:50:12 PM8/30/24
    to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, kokoro, Go LUCI, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
    Attention needed from Hyang-Ah Hana Kim, Jonathan Amsterdam and Robert Findley

    Dmitri Shuralyov added 3 comments

    Commit Message
    Line 11, Patchset 1 (Latest):Use a patch release (final ".0") to cause a toolchain download

    when pkgsite is the main module (like the toolchain directive).
    Dmitri Shuralyov . unresolved

    (Suggested rewording to reduce possibility of confusion for future readers.)

    Use a released version of Go ("go1.23.0" with a final ".0") to cause
    successful toolchain download for Go 1.22 users that are on go1.22.3
    or older (before CL 583915 fixed it in go1.22.4). Anyone still using
    go1.23rc1 or go1.23rc2 will also benefit from an upgrade to a stable
    go1.23.0 release as well.

    Line 14, Patchset 1 (Latest):Staticcheck is not ready for 1.23 yet, so comment it out.
    Dmitri Shuralyov . resolved

    Its latest version claims to have Go 1.23 support (https://staticcheck.dev/changes/2024.1/#added-go-123-support), is that not the case in practice?

    File go.mod
    Line 3, Patchset 1 (Latest):go 1.23
    Dmitri Shuralyov . unresolved

    To match what the commit message says:

    ```suggestion
    go 1.23.0
    ```

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hyang-Ah Hana Kim
    • Jonathan Amsterdam
    • Robert Findley
    Submit Requirements:
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      • requirement satisfiedkokoro-CI-Passes
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pkgsite
      Gerrit-Branch: master
      Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
      Gerrit-Change-Number: 609142
      Gerrit-PatchSet: 1
      Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
      Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
      Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
      Gerrit-Reviewer: Robert Findley <rfin...@google.com>
      Gerrit-Reviewer: kokoro <noreply...@google.com>
      Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
      Gerrit-CC: kokoro <noreply...@google.com>
      Gerrit-Attention: Robert Findley <rfin...@google.com>
      Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
      Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
      Gerrit-Comment-Date: Fri, 30 Aug 2024 20:50:06 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Jonathan Amsterdam (Gerrit)

      unread,
      Aug 31, 2024, 8:29:55 AM8/31/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

      Jonathan Amsterdam uploaded new patchset

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

      Related details

      Attention is currently required from:
      • Dmitri Shuralyov
      • Hyang-Ah Hana Kim
      • Robert Findley
      Submit Requirements:
        • requirement is not satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        • requirement is not satisfiedTryBots-Pass
        • requirement is not satisfiedkokoro-CI-Passes
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: newpatchset
        Gerrit-Project: pkgsite
        Gerrit-Branch: master
        Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
        Gerrit-Change-Number: 609142
        Gerrit-PatchSet: 2
        Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
        Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
        Gerrit-Reviewer: Robert Findley <rfin...@google.com>
        Gerrit-Reviewer: kokoro <noreply...@google.com>
        Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
        Gerrit-CC: kokoro <noreply...@google.com>
        Gerrit-Attention: Robert Findley <rfin...@google.com>
        Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Jonathan Amsterdam (Gerrit)

        unread,
        Aug 31, 2024, 8:29:56 AM8/31/24
        to goph...@pubsubhelper.golang.org, Dmitri Shuralyov, kokoro, Go LUCI, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
        Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

        Jonathan Amsterdam added 3 comments

        Commit Message
        Line 11, Patchset 1:Use a patch release (final ".0") to cause a toolchain download

        when pkgsite is the main module (like the toolchain directive).
        Dmitri Shuralyov . resolved

        (Suggested rewording to reduce possibility of confusion for future readers.)

        Use a released version of Go ("go1.23.0" with a final ".0") to cause
        successful toolchain download for Go 1.22 users that are on go1.22.3
        or older (before CL 583915 fixed it in go1.22.4). Anyone still using
        go1.23rc1 or go1.23rc2 will also benefit from an upgrade to a stable
        go1.23.0 release as well.

        Jonathan Amsterdam

        Done

        Line 14, Patchset 1:Staticcheck is not ready for 1.23 yet, so comment it out.
        Dmitri Shuralyov . resolved

        Its latest version claims to have Go 1.23 support (https://staticcheck.dev/changes/2024.1/#added-go-123-support), is that not the case in practice?

        Jonathan Amsterdam

        It's built on an rc:
        -: module requires at least go1.23.0, but Staticcheck was built with go1.23-20240626-RC01 (compile)

        File go.mod
        Line 3, Patchset 1:go 1.23
        Dmitri Shuralyov . resolved

        To match what the commit message says:

        ```suggestion
        go 1.23.0
        ```

        Jonathan Amsterdam

        Done

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Dmitri Shuralyov
        • Hyang-Ah Hana Kim
        • Robert Findley
        Submit Requirements:
        • requirement is not satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        • requirement is not satisfiedTryBots-Pass
        • requirement is not satisfiedkokoro-CI-Passes
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: pkgsite
        Gerrit-Branch: master
        Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
        Gerrit-Change-Number: 609142
        Gerrit-PatchSet: 2
        Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
        Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
        Gerrit-Reviewer: Robert Findley <rfin...@google.com>
        Gerrit-Reviewer: kokoro <noreply...@google.com>
        Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
        Gerrit-CC: kokoro <noreply...@google.com>
        Gerrit-Attention: Robert Findley <rfin...@google.com>
        Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
        Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Comment-Date: Sat, 31 Aug 2024 12:29:49 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Dmitri Shuralyov <dmit...@golang.org>
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Jonathan Amsterdam (Gerrit)

        unread,
        Sep 2, 2024, 6:50:17 AM9/2/24
        to goph...@pubsubhelper.golang.org, Go LUCI, Dmitri Shuralyov, kokoro, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
        Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

        Jonathan Amsterdam voted Commit-Queue+1

        Commit-Queue+1
        Gerrit-Comment-Date: Mon, 02 Sep 2024 10:50:12 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Hyang-Ah Hana Kim (Gerrit)

        unread,
        Sep 3, 2024, 10:16:41 AM9/3/24
        to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, Go LUCI, Dmitri Shuralyov, kokoro, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
        Attention needed from Dmitri Shuralyov, Jonathan Amsterdam and Robert Findley

        Hyang-Ah Hana Kim added 2 comments

        Patchset-level comments
        File-level comment, Patchset 2 (Latest):
        Hyang-Ah Hana Kim . resolved
        The latest failure in go1.22 builder is:

        go: go.mod requires go >= 1.23.0 (running go 1.22.6; GOTOOLCHAIN=local)

        I think LUCI sets `GOTOOLCHAIN=local` by default. To work with go1.23.x and enable toolchain upgrade, we need adjust the LUCI builder for pkgsite.
        FYI x/tools/gopls had to override to `GOTOOLCHAIN=auto` to make its tests work. (https://source.chromium.org/chromium/infra/infra_superproject/+/main:infra/go/src/infra/experimental/golangbuild/testmode.go;l=307-322?q=GOTOOLCHAIN%20%22auto%22&ss=chromium%2Finfra%2Finfra_superproject:infra%2F). Dmitri - is this still the recommended way?

        Commit Message
        Line 14, Patchset 1:Staticcheck is not ready for 1.23 yet, so comment it out.
        Dmitri Shuralyov . unresolved

        Its latest version claims to have Go 1.23 support (https://staticcheck.dev/changes/2024.1/#added-go-123-support), is that not the case in practice?

        Jonathan Amsterdam

        It's built on an rc:
        -: module requires at least go1.23.0, but Staticcheck was built with go1.23-20240626-RC01 (compile)

        Hyang-Ah Hana Kim

        Can you tell us how/where this project is building staticcheck? If staticcheck is built with `go install` or `go run`, it's likely that the go command is running outside the project module and picks up the system default which is probably lagging. Staticcheck builds and supports go1.23.0.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Dmitri Shuralyov
        • Jonathan Amsterdam
        • Robert Findley
        Submit Requirements:
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement is not satisfiedReview-Enforcement
          • requirement is not satisfiedTryBots-Pass
          • requirement is not satisfiedkokoro-CI-Passes
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: pkgsite
          Gerrit-Branch: master
          Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
          Gerrit-Change-Number: 609142
          Gerrit-PatchSet: 2
          Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
          Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
          Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
          Gerrit-Reviewer: Robert Findley <rfin...@google.com>
          Gerrit-Reviewer: kokoro <noreply...@google.com>
          Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
          Gerrit-CC: kokoro <noreply...@google.com>
          Gerrit-Attention: Robert Findley <rfin...@google.com>
          Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
          Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
          Gerrit-Comment-Date: Tue, 03 Sep 2024 14:16:36 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Jonathan Amsterdam <j...@google.com>
          Comment-In-Reply-To: Dmitri Shuralyov <dmit...@golang.org>
          unsatisfied_requirement
          open
          diffy

          Dmitri Shuralyov (Gerrit)

          unread,
          Sep 3, 2024, 12:43:48 PM9/3/24
          to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, Go LUCI, Dmitri Shuralyov, kokoro, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
          Attention needed from Hyang-Ah Hana Kim, Jonathan Amsterdam and Robert Findley

          Dmitri Shuralyov added 1 comment

          Patchset-level comments
          Hyang-Ah Hana Kim . resolved
          The latest failure in go1.22 builder is:

          go: go.mod requires go >= 1.23.0 (running go 1.22.6; GOTOOLCHAIN=local)

          I think LUCI sets `GOTOOLCHAIN=local` by default. To work with go1.23.x and enable toolchain upgrade, we need adjust the LUCI builder for pkgsite.
          FYI x/tools/gopls had to override to `GOTOOLCHAIN=auto` to make its tests work. (https://source.chromium.org/chromium/infra/infra_superproject/+/main:infra/go/src/infra/experimental/golangbuild/testmode.go;l=307-322?q=GOTOOLCHAIN%20%22auto%22&ss=chromium%2Finfra%2Finfra_superproject:infra%2F). Dmitri - is this still the recommended way?

          Dmitri Shuralyov

          The go1.22 LUCI builders are intentionally configured with GOTOOLCHAIN=local (i.e., without the default '+auto' suffix) to catch accidental/unintended cases where something other than the toolchain the builder selected is being tested. For gopls there is a special case discussed in #67749.

          For x/pkgsite, there aren't tests exercising behavior with an older 'go' command, so it's just a matter of not running those builders since they won't be producing useful signal. There are already cmd/go tests to verify its toolchain switching behavior, we don't need to use significant builder resources to only test that. Sent CL 609279.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Hyang-Ah Hana Kim
          • Jonathan Amsterdam
          • Robert Findley
          Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
          Gerrit-Comment-Date: Tue, 03 Sep 2024 16:43:44 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Hyang-Ah Hana Kim <hya...@gmail.com>
          unsatisfied_requirement
          open
          diffy

          Jonathan Amsterdam (Gerrit)

          unread,
          Sep 3, 2024, 1:17:04 PM9/3/24
          to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
          Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

          Jonathan Amsterdam uploaded new patchset

          Jonathan Amsterdam uploaded patch set #3 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:
          • Dmitri Shuralyov
          • Hyang-Ah Hana Kim
          • Robert Findley
          Submit Requirements:
            • requirement is not satisfiedCode-Review
            • requirement satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement is not satisfiedTryBots-Pass
            • requirement is not satisfiedkokoro-CI-Passes
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: newpatchset
            Gerrit-Project: pkgsite
            Gerrit-Branch: master
            Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
            Gerrit-Change-Number: 609142
            Gerrit-PatchSet: 3
            Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
            Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
            Gerrit-Reviewer: Robert Findley <rfin...@google.com>
            Gerrit-Reviewer: kokoro <noreply...@google.com>
            Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
            Gerrit-CC: kokoro <noreply...@google.com>
            Gerrit-Attention: Robert Findley <rfin...@google.com>
            Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
            unsatisfied_requirement
            satisfied_requirement
            open
            diffy

            Jonathan Amsterdam (Gerrit)

            unread,
            Sep 3, 2024, 1:17:05 PM9/3/24
            to goph...@pubsubhelper.golang.org, Go LUCI, Dmitri Shuralyov, kokoro, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
            Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

            Jonathan Amsterdam added 1 comment

            Commit Message
            Line 14, Patchset 1:Staticcheck is not ready for 1.23 yet, so comment it out.
            Dmitri Shuralyov . resolved

            Its latest version claims to have Go 1.23 support (https://staticcheck.dev/changes/2024.1/#added-go-123-support), is that not the case in practice?

            Jonathan Amsterdam

            It's built on an rc:
            -: module requires at least go1.23.0, but Staticcheck was built with go1.23-20240626-RC01 (compile)

            Hyang-Ah Hana Kim

            Can you tell us how/where this project is building staticcheck? If staticcheck is built with `go install` or `go run`, it's likely that the go command is running outside the project module and picks up the system default which is probably lagging. Staticcheck builds and supports go1.23.0.

            Jonathan Amsterdam

            Hmm, I don't know what I was seeing. Fixed.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Dmitri Shuralyov
            • Hyang-Ah Hana Kim
            • Robert Findley
            Submit Requirements:
            • requirement is not satisfiedCode-Review
            • requirement satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement is not satisfiedTryBots-Pass
            • requirement is not satisfiedkokoro-CI-Passes
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: pkgsite
            Gerrit-Branch: master
            Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
            Gerrit-Change-Number: 609142
            Gerrit-PatchSet: 3
            Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
            Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
            Gerrit-Reviewer: Robert Findley <rfin...@google.com>
            Gerrit-Reviewer: kokoro <noreply...@google.com>
            Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
            Gerrit-CC: kokoro <noreply...@google.com>
            Gerrit-Attention: Robert Findley <rfin...@google.com>
            Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
            Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Comment-Date: Tue, 03 Sep 2024 17:16:58 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Jonathan Amsterdam <j...@google.com>
            Comment-In-Reply-To: Dmitri Shuralyov <dmit...@golang.org>
            unsatisfied_requirement
            satisfied_requirement
            open
            diffy

            Jonathan Amsterdam (Gerrit)

            unread,
            Sep 3, 2024, 1:25:20 PM9/3/24
            to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
            Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim, Jonathan Amsterdam and Robert Findley

            Jonathan Amsterdam uploaded new patchset

            Jonathan Amsterdam 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:
            • Dmitri Shuralyov
            • Hyang-Ah Hana Kim
            • Jonathan Amsterdam
            • Robert Findley
            Submit Requirements:
            • requirement is not satisfiedCode-Review
            • requirement satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement is not satisfiedTryBots-Pass
            • requirement is not satisfiedkokoro-CI-Passes
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: newpatchset
            Gerrit-Project: pkgsite
            Gerrit-Branch: master
            Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
            Gerrit-Change-Number: 609142
            Gerrit-PatchSet: 4
            Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
            Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
            Gerrit-Reviewer: Robert Findley <rfin...@google.com>
            Gerrit-Reviewer: kokoro <noreply...@google.com>
            Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
            Gerrit-CC: kokoro <noreply...@google.com>
            Gerrit-Attention: Robert Findley <rfin...@google.com>
            Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
            unsatisfied_requirement
            satisfied_requirement
            open
            diffy

            kokoro (Gerrit)

            unread,
            Sep 3, 2024, 1:27:25 PM9/3/24
            to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, Go LUCI, Dmitri Shuralyov, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
            Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim, Jonathan Amsterdam and Robert Findley

            kokoro voted kokoro-CI-1

            Kokoro presubmit build finished with status: FAILURE
            Logs at: https://source.cloud.google.com/results/invocations/97ef362a-2f2a-41ab-802c-1b7f5d60f371

            kokoro-CI-1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Dmitri Shuralyov
            • Hyang-Ah Hana Kim
            • Jonathan Amsterdam
            • Robert Findley
            Submit Requirements:
            • requirement is not satisfiedCode-Review
            • requirement satisfiedNo-Unresolved-Comments
            • requirement is not satisfiedReview-Enforcement
            • requirement is not satisfiedTryBots-Pass
            • requirement is not satisfiedkokoro-CI-Passes
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: pkgsite
            Gerrit-Branch: master
            Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
            Gerrit-Change-Number: 609142
            Gerrit-PatchSet: 3
            Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
            Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
            Gerrit-Reviewer: Robert Findley <rfin...@google.com>
            Gerrit-Reviewer: kokoro <noreply...@google.com>
            Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
            Gerrit-CC: kokoro <noreply...@google.com>
            Gerrit-Attention: Robert Findley <rfin...@google.com>
            Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
            Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
            Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
            Gerrit-Comment-Date: Tue, 03 Sep 2024 17:27:18 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            unsatisfied_requirement
            satisfied_requirement
            open
            diffy

            kokoro (Gerrit)

            unread,
            Sep 3, 2024, 1:45:57 PM9/3/24
            to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, Go LUCI, Dmitri Shuralyov, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
            Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim, Jonathan Amsterdam and Robert Findley

            kokoro voted kokoro-CI-1

            Kokoro presubmit build finished with status: FAILURE

            Related details

            Attention is currently required from:
            • Dmitri Shuralyov
            • Hyang-Ah Hana Kim
            • Jonathan Amsterdam
            • Robert Findley
            Submit Requirements:
              • requirement is not satisfiedCode-Review
              • requirement satisfiedNo-Unresolved-Comments
              • requirement is not satisfiedReview-Enforcement
              • requirement satisfiedTryBots-Pass
              • requirement is not satisfiedkokoro-CI-Passes
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: pkgsite
              Gerrit-Branch: master
              Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
              Gerrit-Change-Number: 609142
              Gerrit-PatchSet: 4
              Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
              Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
              Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
              Gerrit-Reviewer: Robert Findley <rfin...@google.com>
              Gerrit-Reviewer: kokoro <noreply...@google.com>
              Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
              Gerrit-CC: kokoro <noreply...@google.com>
              Gerrit-Attention: Robert Findley <rfin...@google.com>
              Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
              Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
              Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
              Gerrit-Comment-Date: Tue, 03 Sep 2024 17:45:52 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              unsatisfied_requirement
              satisfied_requirement
              open
              diffy

              Robert Findley (Gerrit)

              unread,
              Sep 3, 2024, 3:03:14 PM9/3/24
              to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, kokoro, Go LUCI, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
              Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Jonathan Amsterdam

              Robert Findley added 1 comment

              Patchset-level comments
              File-level comment, Patchset 4 (Latest):
              Robert Findley . unresolved

              The Kokoro failure looks real (a screentest diff). Is that expected?

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Dmitri Shuralyov
              • Hyang-Ah Hana Kim
              • Jonathan Amsterdam
              Submit Requirements:
                • requirement is not satisfiedCode-Review
                • requirement is not satisfiedNo-Unresolved-Comments
                • requirement is not satisfiedReview-Enforcement
                • requirement satisfiedTryBots-Pass
                • requirement is not satisfiedkokoro-CI-Passes
                Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                Gerrit-MessageType: comment
                Gerrit-Project: pkgsite
                Gerrit-Branch: master
                Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                Gerrit-Change-Number: 609142
                Gerrit-PatchSet: 4
                Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
                Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
                Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
                Gerrit-Reviewer: Robert Findley <rfin...@google.com>
                Gerrit-Reviewer: kokoro <noreply...@google.com>
                Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
                Gerrit-CC: kokoro <noreply...@google.com>
                Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
                Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
                Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
                Gerrit-Comment-Date: Tue, 03 Sep 2024 19:03:09 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                unsatisfied_requirement
                satisfied_requirement
                open
                diffy

                Jonathan Amsterdam (Gerrit)

                unread,
                Sep 3, 2024, 4:22:26 PM9/3/24
                to goph...@pubsubhelper.golang.org, kokoro, Go LUCI, Dmitri Shuralyov, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
                Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

                Jonathan Amsterdam added 1 comment

                Patchset-level comments
                Robert Findley . unresolved

                The Kokoro failure looks real (a screentest diff). Is that expected?

                Jonathan Amsterdam

                No. Works for me locally. Looking into it.

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Dmitri Shuralyov
                • Hyang-Ah Hana Kim
                • Robert Findley
                Submit Requirements:
                • requirement is not satisfiedCode-Review
                • requirement is not satisfiedNo-Unresolved-Comments
                • requirement is not satisfiedReview-Enforcement
                • requirement satisfiedTryBots-Pass
                • requirement is not satisfiedkokoro-CI-Passes
                Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                Gerrit-MessageType: comment
                Gerrit-Project: pkgsite
                Gerrit-Branch: master
                Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                Gerrit-Change-Number: 609142
                Gerrit-PatchSet: 4
                Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
                Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
                Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
                Gerrit-Reviewer: Robert Findley <rfin...@google.com>
                Gerrit-Reviewer: kokoro <noreply...@google.com>
                Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
                Gerrit-CC: kokoro <noreply...@google.com>
                Gerrit-Attention: Robert Findley <rfin...@google.com>
                Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
                Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
                Gerrit-Comment-Date: Tue, 03 Sep 2024 20:22:23 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                Comment-In-Reply-To: Robert Findley <rfin...@google.com>
                unsatisfied_requirement
                satisfied_requirement
                open
                diffy

                Jonathan Amsterdam (Gerrit)

                unread,
                Sep 3, 2024, 4:52:25 PM9/3/24
                to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Jonathan Amsterdam

                Jonathan Amsterdam uploaded new patchset

                Jonathan Amsterdam uploaded patch set #5 to this change.
                Following approvals got outdated and were removed:
                • kokoro-CI-Passes: kokoro-CI-1 by kokoro
                Open in Gerrit

                Related details

                Attention is currently required from:
                • Dmitri Shuralyov
                • Hyang-Ah Hana Kim
                • Jonathan Amsterdam
                Submit Requirements:
                • requirement is not satisfiedCode-Review
                • requirement is not satisfiedNo-Unresolved-Comments
                • requirement is not satisfiedReview-Enforcement
                • requirement satisfiedTryBots-Pass
                • requirement is not satisfiedkokoro-CI-Passes
                Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                Gerrit-MessageType: newpatchset
                Gerrit-Project: pkgsite
                Gerrit-Branch: master
                Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                Gerrit-Change-Number: 609142
                Gerrit-PatchSet: 5
                Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
                Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
                Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
                Gerrit-Reviewer: Robert Findley <rfin...@google.com>
                Gerrit-Reviewer: kokoro <noreply...@google.com>
                Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
                Gerrit-CC: kokoro <noreply...@google.com>
                Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
                unsatisfied_requirement
                satisfied_requirement
                open
                diffy

                kokoro (Gerrit)

                unread,
                Sep 3, 2024, 5:15:08 PM9/3/24
                to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, Go LUCI, Dmitri Shuralyov, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
                Attention needed from Dmitri Shuralyov and Hyang-Ah Hana Kim

                kokoro voted kokoro-CI+1

                Kokoro presubmit build finished with status: SUCCESS
                Logs at: https://source.cloud.google.com/results/invocations/4562e369-d2ea-40d6-8325-e500365e2e56

                kokoro-CI+1
                Open in Gerrit

                Related details

                Attention is currently required from:
                • Dmitri Shuralyov
                • Hyang-Ah Hana Kim
                Submit Requirements:
                  • requirement is not satisfiedCode-Review
                  • requirement is not satisfiedNo-Unresolved-Comments
                  • requirement is not satisfiedReview-Enforcement
                  • requirement satisfiedTryBots-Pass
                  • requirement satisfiedkokoro-CI-Passes
                  Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                  Gerrit-MessageType: comment
                  Gerrit-Project: pkgsite
                  Gerrit-Branch: master
                  Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                  Gerrit-Change-Number: 609142
                  Gerrit-PatchSet: 5
                  Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
                  Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
                  Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
                  Gerrit-Reviewer: Robert Findley <rfin...@google.com>
                  Gerrit-Reviewer: kokoro <noreply...@google.com>
                  Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
                  Gerrit-CC: kokoro <noreply...@google.com>
                  Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
                  Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
                  Gerrit-Comment-Date: Tue, 03 Sep 2024 21:14:58 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: Yes
                  unsatisfied_requirement
                  satisfied_requirement
                  open
                  diffy

                  Jonathan Amsterdam (Gerrit)

                  unread,
                  Sep 3, 2024, 5:39:06 PM9/3/24
                  to goph...@pubsubhelper.golang.org, kokoro, Go LUCI, Dmitri Shuralyov, Robert Findley, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
                  Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

                  Jonathan Amsterdam added 1 comment

                  Patchset-level comments
                  File-level comment, Patchset 4:
                  Robert Findley . resolved

                  The Kokoro failure looks real (a screentest diff). Is that expected?

                  Jonathan Amsterdam

                  No. Works for me locally. Looking into it.

                  Jonathan Amsterdam

                  It was a flake.

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Dmitri Shuralyov
                  • Hyang-Ah Hana Kim
                  • Robert Findley
                  Submit Requirements:
                    • requirement is not satisfiedCode-Review
                    • requirement satisfiedNo-Unresolved-Comments
                    • requirement is not satisfiedReview-Enforcement
                    • requirement satisfiedTryBots-Pass
                    • requirement satisfiedkokoro-CI-Passes
                    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                    Gerrit-MessageType: comment
                    Gerrit-Project: pkgsite
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                    Gerrit-Change-Number: 609142
                    Gerrit-PatchSet: 5
                    Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
                    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
                    Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
                    Gerrit-Reviewer: Robert Findley <rfin...@google.com>
                    Gerrit-Reviewer: kokoro <noreply...@google.com>
                    Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
                    Gerrit-CC: kokoro <noreply...@google.com>
                    Gerrit-Attention: Robert Findley <rfin...@google.com>
                    Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
                    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
                    Gerrit-Comment-Date: Tue, 03 Sep 2024 21:39:02 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: No
                    Comment-In-Reply-To: Robert Findley <rfin...@google.com>
                    Comment-In-Reply-To: Jonathan Amsterdam <j...@google.com>
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Robert Findley (Gerrit)

                    unread,
                    Sep 3, 2024, 6:26:42 PM9/3/24
                    to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, kokoro, Go LUCI, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
                    Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Jonathan Amsterdam

                    Robert Findley voted and added 3 comments

                    Votes added by Robert Findley

                    Code-Review+2

                    3 comments

                    Patchset-level comments
                    Robert Findley . resolved

                    The Kokoro failure looks real (a screentest diff). Is that expected?

                    Jonathan Amsterdam

                    No. Works for me locally. Looking into it.

                    Jonathan Amsterdam

                    It was a flake.

                    Robert Findley

                    Curious why a screentest would flake...

                    File internal/godoc/codec/generate.go
                    Line 46, Patchset 5 (Latest):func readFieldNames(filename string) (map[string][]string, error) {
                    Robert Findley . unresolved

                    This behavior of preserving existing field order in the generated codec is, while elegant, rather nonstandard. In particular, it's surprising to have a generated file that is path dependent (meaning: if I deleted it and regenerated it, I'd get a different file). I think this could use better documentation, perhaps here or perhaps at the top of the generated file (or perhaps both).

                    Not necessarily for this CL.

                    Line 440, Patchset 5 (Latest)://lint:file-ignore SA1019 TODO: fix
                    Robert Findley . unresolved

                    Can you make all of these TODO(jba)? Thanks.

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Dmitri Shuralyov
                    • Hyang-Ah Hana Kim
                    • Jonathan Amsterdam
                    Submit Requirements:
                    • requirement satisfiedCode-Review
                    • requirement is not satisfiedNo-Unresolved-Comments
                    • requirement satisfiedReview-Enforcement
                    • requirement satisfiedTryBots-Pass
                    • requirement satisfiedkokoro-CI-Passes
                    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                    Gerrit-MessageType: comment
                    Gerrit-Project: pkgsite
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                    Gerrit-Change-Number: 609142
                    Gerrit-PatchSet: 5
                    Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
                    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
                    Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
                    Gerrit-Reviewer: Robert Findley <rfin...@google.com>
                    Gerrit-Reviewer: kokoro <noreply...@google.com>
                    Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
                    Gerrit-CC: kokoro <noreply...@google.com>
                    Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
                    Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
                    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
                    Gerrit-Comment-Date: Tue, 03 Sep 2024 22:26:37 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    unsatisfied_requirement
                    open
                    diffy

                    Jonathan Amsterdam (Gerrit)

                    unread,
                    Sep 3, 2024, 9:05:43 PM9/3/24
                    to goph...@pubsubhelper.golang.org, Robert Findley, kokoro, Go LUCI, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
                    Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

                    Jonathan Amsterdam added 3 comments

                    Patchset-level comments
                    Robert Findley . resolved

                    The Kokoro failure looks real (a screentest diff). Is that expected?

                    Jonathan Amsterdam

                    No. Works for me locally. Looking into it.

                    Jonathan Amsterdam

                    It was a flake.

                    Robert Findley

                    Curious why a screentest would flake...

                    Jonathan Amsterdam

                    I believe there are timing issues. I'm going to look deeper into the screen tests if I have time.

                    File internal/godoc/codec/generate.go
                    Line 46, Patchset 5:func readFieldNames(filename string) (map[string][]string, error) {
                    Robert Findley . resolved

                    This behavior of preserving existing field order in the generated codec is, while elegant, rather nonstandard. In particular, it's surprising to have a generated file that is path dependent (meaning: if I deleted it and regenerated it, I'd get a different file). I think this could use better documentation, perhaps here or perhaps at the top of the generated file (or perhaps both).

                    Not necessarily for this CL.

                    Jonathan Amsterdam

                    Noted.

                    Line 440, Patchset 5://lint:file-ignore SA1019 TODO: fix
                    Robert Findley . resolved

                    Can you make all of these TODO(jba)? Thanks.

                    Jonathan Amsterdam

                    Done

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Dmitri Shuralyov
                    • Hyang-Ah Hana Kim
                    • Robert Findley
                    Submit Requirements:
                    • requirement satisfiedCode-Review
                    • requirement satisfiedNo-Unresolved-Comments
                    • requirement satisfiedReview-Enforcement
                    • requirement is not satisfiedTryBots-Pass
                    • requirement is not satisfiedkokoro-CI-Passes
                    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                    Gerrit-MessageType: comment
                    Gerrit-Project: pkgsite
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                    Gerrit-Change-Number: 609142
                    Gerrit-PatchSet: 6
                    Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
                    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
                    Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
                    Gerrit-Reviewer: Robert Findley <rfin...@google.com>
                    Gerrit-Reviewer: kokoro <noreply...@google.com>
                    Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
                    Gerrit-CC: kokoro <noreply...@google.com>
                    Gerrit-Attention: Robert Findley <rfin...@google.com>
                    Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
                    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
                    Gerrit-Comment-Date: Wed, 04 Sep 2024 01:05:38 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: No
                    satisfied_requirement
                    unsatisfied_requirement
                    open
                    diffy

                    Jonathan Amsterdam (Gerrit)

                    unread,
                    Sep 3, 2024, 9:05:44 PM9/3/24
                    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                    Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

                    Jonathan Amsterdam uploaded new patchset

                    Jonathan Amsterdam uploaded patch set #6 to this change.
                    Following approvals got outdated and were removed:
                    • TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
                    • kokoro-CI-Passes: kokoro-CI+1 by kokoro
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Dmitri Shuralyov
                    • Hyang-Ah Hana Kim
                    • Robert Findley
                    Submit Requirements:
                    • requirement satisfiedCode-Review
                    • requirement satisfiedNo-Unresolved-Comments
                    • requirement satisfiedReview-Enforcement
                    • requirement is not satisfiedTryBots-Pass
                    • requirement is not satisfiedkokoro-CI-Passes
                    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                    Gerrit-MessageType: newpatchset
                    satisfied_requirement
                    unsatisfied_requirement
                    open
                    diffy

                    kokoro (Gerrit)

                    unread,
                    Sep 3, 2024, 9:29:52 PM9/3/24
                    to Jonathan Amsterdam, goph...@pubsubhelper.golang.org, Go LUCI, Robert Findley, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com
                    Attention needed from Dmitri Shuralyov, Hyang-Ah Hana Kim and Robert Findley

                    kokoro voted kokoro-CI+1

                    Kokoro presubmit build finished with status: SUCCESS

                    Related details

                    Attention is currently required from:
                    • Dmitri Shuralyov
                    • Hyang-Ah Hana Kim
                    • Robert Findley
                    Submit Requirements:
                      • requirement satisfiedCode-Review
                      • requirement satisfiedNo-Unresolved-Comments
                      • requirement satisfiedReview-Enforcement
                      • requirement satisfiedTryBots-Pass
                      • requirement satisfiedkokoro-CI-Passes
                      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                      Gerrit-MessageType: comment
                      Gerrit-Project: pkgsite
                      Gerrit-Branch: master
                      Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                      Gerrit-Change-Number: 609142
                      Gerrit-PatchSet: 6
                      Gerrit-Owner: Jonathan Amsterdam <j...@google.com>
                      Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
                      Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
                      Gerrit-Reviewer: Robert Findley <rfin...@google.com>
                      Gerrit-Reviewer: kokoro <noreply...@google.com>
                      Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
                      Gerrit-CC: kokoro <noreply...@google.com>
                      Gerrit-Attention: Robert Findley <rfin...@google.com>
                      Gerrit-Attention: Dmitri Shuralyov <dmit...@golang.org>
                      Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
                      Gerrit-Comment-Date: Wed, 04 Sep 2024 01:29:47 +0000
                      Gerrit-HasComments: No
                      Gerrit-Has-Labels: Yes
                      satisfied_requirement
                      open
                      diffy

                      Jonathan Amsterdam (Gerrit)

                      unread,
                      Sep 4, 2024, 7:03:43 AM9/4/24
                      to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, kokoro, Go LUCI, Robert Findley, Dmitri Shuralyov, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

                      Jonathan Amsterdam submitted the change with unreviewed changes

                      Unreviewed changes

                      5 is the latest approved patch-set.
                      The change was submitted with unreviewed changes in the following files:

                      ```
                      The name of the file: internal/godoc/codec/generate.go
                      Insertions: 1, Deletions: 1.

                      @@ -437,7 +437,7 @@

                      // Code generated by the codec package. DO NOT EDIT.

                      -//lint:file-ignore SA1019 TODO: fix
                      +//lint:file-ignore SA1019 TODO(jba): fix

                      package «.Package»

                      ```
                      ```
                      The name of the file: internal/godoc/codec/testdata/map.go
                      Insertions: 1, Deletions: 1.

                      @@ -4,7 +4,7 @@

                      // Code generated by the codec package. DO NOT EDIT.

                      -//lint:file-ignore SA1019 TODO: fix
                      +//lint:file-ignore SA1019 TODO(jba): fix

                      package somepkg

                      ```
                      ```
                      The name of the file: internal/godoc/codec/testdata/struct.go
                      Insertions: 1, Deletions: 1.

                      @@ -4,7 +4,7 @@

                      // Code generated by the codec package. DO NOT EDIT.

                      -//lint:file-ignore SA1019 TODO: fix
                      +//lint:file-ignore SA1019 TODO(jba): fix

                      package somepkg

                      ```
                      ```
                      The name of the file: internal/godoc/encode_ast.gen.go
                      Insertions: 1, Deletions: 1.

                      @@ -4,7 +4,7 @@

                      // Code generated by the codec package. DO NOT EDIT.

                      -//lint:file-ignore SA1019 TODO: fix
                      +//lint:file-ignore SA1019 TODO(jba): fix

                      package godoc

                      ```
                      ```
                      The name of the file: internal/godoc/codec/testdata/slice.go
                      Insertions: 1, Deletions: 1.

                      @@ -4,7 +4,7 @@

                      // Code generated by the codec package. DO NOT EDIT.

                      -//lint:file-ignore SA1019 TODO: fix
                      +//lint:file-ignore SA1019 TODO(jba): fix

                      package somepkg

                      ```

                      Change information

                      Commit message:
                      go.mod: upgrade to go 1.23

                      The go.mod major version now matches what we use for Dockerfiles.

                      The version of staticcheck that works with Go 1.23 revealed several
                      uses of deprecated functions. Some of these were easy to change,
                      but other require more care and will be addressed in some later CLs.
                      Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                      Reviewed-by: Robert Findley <rfin...@google.com>
                      kokoro-CI: kokoro <noreply...@google.com>
                      Files:
                      • M go.mod
                      • M go.sum
                      • M internal/fetch/getters.go
                      • M internal/godoc/codec/generate.go
                      • M internal/godoc/codec/testdata/map.go
                      • M internal/godoc/codec/testdata/slice.go
                      • M internal/godoc/codec/testdata/struct.go
                      • M internal/godoc/encode_ast.gen.go
                      • M internal/godoc/encode_test.go
                      • M internal/godoc/render.go
                      • M internal/middleware/experiment_test.go
                      Change size: M
                      Delta: 11 files changed, 45 insertions(+), 8 deletions(-)
                      Branch: refs/heads/master
                      Submit Requirements:
                      • requirement satisfiedCode-Review: +2 by Robert Findley
                      • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
                      • requirement satisfiedkokoro-CI-Passes: kokoro-CI+1 by kokoro
                      Open in Gerrit
                      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                      Gerrit-MessageType: merged
                      Gerrit-Project: pkgsite
                      Gerrit-Branch: master
                      Gerrit-Change-Id: I7f8344e419b8be6351d51db90faa64cef04057a0
                      Gerrit-Change-Number: 609142
                      Gerrit-PatchSet: 7
                      open
                      diffy
                      satisfied_requirement
                      Reply all
                      Reply to author
                      Forward
                      0 new messages