[go] Internal/load: add more details for ` import cycle not allowed` error

74 views
Skip to first unread message

Gerrit Bot (Gerrit)

unread,
Jul 8, 2024, 12:45:25 AM7/8/24
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Gerrit Bot has uploaded the change for review

Commit message

Internal/load: add more details for ` import cycle not allowed` error

The PR is to add more details for the error, so that it would be easier to trouble the cyclic imports error.

The change for the error looks like the following:
```
package cyclic-import-example
imports cyclic-import-example/packageA from /Users/personal/cyclic-import-example/main.go:4:5
imports cyclic-import-example/packageB from /Users/personal/cyclic-import-example/packageA/a.go:5:2
imports cyclic-import-example/packageA from /Users/personal/cyclic-import-example/packageB/bb.go:5:2: import cycle not allowed
```
Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
GitHub-Last-Rev: 716cda91cb47034a6af8b80a67fa1375512d5d1c
GitHub-Pull-Request: golang/go#68337

Change diff

diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go
index f241e93..c804766 100644
--- a/src/cmd/go/internal/load/pkg.go
+++ b/src/cmd/go/internal/load/pkg.go
@@ -326,7 +326,7 @@
// move the modload errors into this package to avoid a package import cycle,
// and from having to export an error type for the errors produced in build.
if !isMatchErr && (nogoErr != nil || isScanErr) {
- stk.Push(path)
+ stk.Push(&ImportInfo{Pkg: path, Pos: importPos})
defer stk.Pop()
}

@@ -337,7 +337,11 @@
}
p.Incomplete = true

- if path != stk.Top() {
+ top := ""
+ if stk.Top() != nil {
+ top = stk.Top().Pkg
+ }
+ if path != top {
p.Error.setPos(importPos)
}
}
@@ -558,12 +562,17 @@
return e.importPath
}

+type ImportInfo struct {
+ Pkg string
+ Pos []token.Position
+}
+
// An ImportStack is a stack of import paths, possibly with the suffix " (test)" appended.
// The import path of a test package is the import path of the corresponding
// non-test package with the suffix "_test" added.
-type ImportStack []string
+type ImportStack []*ImportInfo

-func (s *ImportStack) Push(p string) {
+func (s *ImportStack) Push(p *ImportInfo) {
*s = append(*s, p)
}

@@ -572,12 +581,37 @@
}

func (s *ImportStack) Copy() []string {
- return append([]string{}, *s...)
+ ss := make([]string, 0, len(*s))
+ for _, v := range *s {
+ ss = append(ss, v.Pkg)
+ }
+ return ss
}

-func (s *ImportStack) Top() string {
+func (s *ImportStack) CopyWithPos() []string {
+ ss := make([]string, 0, len(*s))
+ for _, v := range *s {
+ sPos := make([]string, 0, len(v.Pos))
+ for _, p := range v.Pos {
+ sPos = append(sPos, p.String())
+ }
+ lensPos := len(sPos)
+ if lensPos > 0 {
+ if lensPos > 10 {
+ sPos = append([]string{}, sPos[:10]...)
+ sPos = append(sPos, " and more")
+ }
+ ss = append(ss, v.Pkg+" from "+strings.Join(sPos, ","))
+ } else {
+ ss = append(ss, v.Pkg)
+ }
+ }
+ return ss
+}
+
+func (s *ImportStack) Top() *ImportInfo {
if len(*s) == 0 {
- return ""
+ return nil
}
return (*s)[len(*s)-1]
}
@@ -592,8 +626,12 @@
}
// If they are the same length, settle ties using string ordering.
for i := range s {
- if s[i] != t[i] {
- return s[i] < t[i]
+ siPkg := ""
+ if s[i] != nil {
+ siPkg = s[i].Pkg
+ }
+ if siPkg != t[i] {
+ return siPkg < t[i]
}
}
return false // they are equal
@@ -757,7 +795,7 @@
// sequence that empirically doesn't trigger for these errors, guarded by
// a somewhat complex condition. Figure out how to generalize that
// condition and eliminate the explicit calls here.
- stk.Push(path)
+ stk.Push(&ImportInfo{Pkg: path, Pos: importPos})
defer stk.Pop()
}
p.setLoadPackageDataError(err, path, stk, nil)
@@ -776,7 +814,7 @@
importPath := bp.ImportPath
p := packageCache[importPath]
if p != nil {
- stk.Push(path)
+ stk.Push(&ImportInfo{Pkg: path, Pos: importPos})
p = reusePackage(p, stk)
stk.Pop()
setCmdline(p)
@@ -1448,7 +1486,7 @@
if p.Internal.Imports == nil {
if p.Error == nil {
p.Error = &PackageError{
- ImportStack: stk.Copy(),
+ ImportStack: stk.CopyWithPos(),
Err: errors.New("import cycle not allowed"),
IsImportCycle: true,
}
@@ -1789,7 +1827,11 @@
// then the cause of the error is not within p itself: the error
// must be either in an explicit command-line argument,
// or on the importer side (indicated by a non-empty importPos).
- if path != stk.Top() && len(importPos) > 0 {
+ top := ""
+ if stk.Top() != nil {
+ top = stk.Top().Pkg
+ }
+ if path != top && len(importPos) > 0 {
p.Error.setPos(importPos)
}
}
@@ -1955,7 +1997,7 @@
// Errors after this point are caused by this package, not the importing
// package. Pushing the path here prevents us from reporting the error
// with the position of the import declaration.
- stk.Push(path)
+ stk.Push(&ImportInfo{Pkg: path, Pos: importPos})
defer stk.Pop()

pkgPath := p.ImportPath
diff --git a/src/cmd/go/internal/load/test.go b/src/cmd/go/internal/load/test.go
index 3135805..c207327 100644
--- a/src/cmd/go/internal/load/test.go
+++ b/src/cmd/go/internal/load/test.go
@@ -113,7 +113,7 @@
var stk ImportStack
var testEmbed, xtestEmbed map[string][]string
var incomplete bool
- stk.Push(p.ImportPath + " (test)")
+ stk.Push(&ImportInfo{Pkg: p.ImportPath + " (test)"})
rawTestImports := str.StringList(p.TestImports)
for i, path := range p.TestImports {
p1, err := loadImport(ctx, opts, pre, path, p.Dir, p, &stk, p.Internal.Build.TestImportPos[path], ResolveImport)
@@ -140,7 +140,7 @@
}
stk.Pop()

- stk.Push(p.ImportPath + "_test")
+ stk.Push(&ImportInfo{Pkg: p.ImportPath + "_test"})
pxtestNeedsPtest := false
var pxtestIncomplete bool
rawXTestImports := str.StringList(p.XTestImports)
@@ -296,7 +296,7 @@

// The generated main also imports testing, regexp, and os.
// Also the linker introduces implicit dependencies reported by LinkerDeps.
- stk.Push("testmain")
+ stk.Push(&ImportInfo{Pkg: "testmain"})
deps := TestMainDeps // cap==len, so safe for append
ldDeps, err := LinkerDeps(p)
if err != nil && pmain.Error == nil {
diff --git a/src/cmd/go/internal/work/action.go b/src/cmd/go/internal/work/action.go
index 5e83f1e..cb68f02 100644
--- a/src/cmd/go/internal/work/action.go
+++ b/src/cmd/go/internal/work/action.go
@@ -631,7 +631,7 @@

// vet expects to be able to import "fmt".
var stk load.ImportStack
- stk.Push("vet")
+ stk.Push(&load.ImportInfo{Pkg: "vet"})
p1, err := load.LoadImportWithFlags("fmt", p.Dir, p, &stk, nil, 0)
if err != nil {
base.Fatalf("unexpected error loading fmt package from package %s: %v", p.ImportPath, err)

Change information

Files:
  • M src/cmd/go/internal/load/pkg.go
  • M src/cmd/go/internal/load/test.go
  • M src/cmd/go/internal/work/action.go
Change size: M
Delta: 3 files changed, 60 insertions(+), 18 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: go
Gerrit-Branch: master
Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
Gerrit-Change-Number: 597035
Gerrit-PatchSet: 1
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Gopher Robot (Gerrit)

unread,
Jul 8, 2024, 12:45:28 AM7/8/24
to Gerrit Bot, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Gopher Robot added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Gopher Robot . unresolved

I spotted some possible problems.

These findings are based on simple heuristics. If a finding appears wrong, briefly reply here saying so. Otherwise, please address any problems and update the GitHub PR. When complete, mark this comment as 'Done' and click the [blue 'Reply' button](https://go.dev/wiki/GerritBot#i-left-a-reply-to-a-comment-in-gerrit-but-no-one-but-me-can-see-it) above.

Possible problems detected:
1. The commit title should start with the primary affected package name followed by a colon, like "net/http: improve [...]".
2. Lines in the commit message should be wrapped at ~76 characters unless needed for things like URLs or tables. You have a 108 character line.
3. Are you using markdown? Markdown should not be used to augment text in the commit message.
4. You usually need to reference a bug number for all but trivial or cosmetic fixes. For this repo, the format is usually 'Fixes #12345' or 'Updates #12345' at the end of the commit message. Should you have a bug reference?

The commit title and commit message body come from the GitHub PR title and description, and must be edited in the GitHub web interface (not via git). For instructions, see [here](https://go.dev/wiki/GerritBot/#how-does-gerritbot-determine-the-final-commit-message). For guidelines on commit messages for the Go project, see [here](https://go.dev/doc/contribute#commit_messages).


(In general for Gerrit code reviews, the change author is expected to [log in to Gerrit](https://go-review.googlesource.com/login/) with a Gmail or other Google account and then close out each piece of feedback by marking it as 'Done' if implemented as suggested or otherwise reply to each review comment. See the [Review](https://go.dev/doc/contribute#review) section of the Contributing Guide for details.)

Open in Gerrit

Related details

Attention set is empty
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: comment
    Gerrit-Project: go
    Gerrit-Branch: master
    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
    Gerrit-Change-Number: 597035
    Gerrit-PatchSet: 1
    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Comment-Date: Mon, 08 Jul 2024 04:45:22 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Gerrit Bot (Gerrit)

    unread,
    Jul 8, 2024, 12:51:59 AM7/8/24
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

    Gerrit Bot uploaded new patchset

    Gerrit Bot uploaded patch set #2 to this change.
    Open in Gerrit

    Related details

    Attention set is empty
    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: go
    Gerrit-Branch: master
    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
    Gerrit-Change-Number: 597035
    Gerrit-PatchSet: 2
    unsatisfied_requirement
    open
    diffy

    Xin Zhang (Gerrit)

    unread,
    Jul 8, 2024, 12:52:03 AM7/8/24
    to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, golang-co...@googlegroups.com

    Xin Zhang added 2 comments

    Patchset-level comments
    File-level comment, Patchset 1:
    Gopher Robot . resolved

    I spotted some possible problems.

    These findings are based on simple heuristics. If a finding appears wrong, briefly reply here saying so. Otherwise, please address any problems and update the GitHub PR. When complete, mark this comment as 'Done' and click the [blue 'Reply' button](https://go.dev/wiki/GerritBot#i-left-a-reply-to-a-comment-in-gerrit-but-no-one-but-me-can-see-it) above.

    Possible problems detected:
    1. The commit title should start with the primary affected package name followed by a colon, like "net/http: improve [...]".
    2. Lines in the commit message should be wrapped at ~76 characters unless needed for things like URLs or tables. You have a 108 character line.
    3. Are you using markdown? Markdown should not be used to augment text in the commit message.
    4. You usually need to reference a bug number for all but trivial or cosmetic fixes. For this repo, the format is usually 'Fixes #12345' or 'Updates #12345' at the end of the commit message. Should you have a bug reference?

    The commit title and commit message body come from the GitHub PR title and description, and must be edited in the GitHub web interface (not via git). For instructions, see [here](https://go.dev/wiki/GerritBot/#how-does-gerritbot-determine-the-final-commit-message). For guidelines on commit messages for the Go project, see [here](https://go.dev/doc/contribute#commit_messages).


    (In general for Gerrit code reviews, the change author is expected to [log in to Gerrit](https://go-review.googlesource.com/login/) with a Gmail or other Google account and then close out each piece of feedback by marking it as 'Done' if implemented as suggested or otherwise reply to each review comment. See the [Review](https://go.dev/doc/contribute#review) section of the Contributing Guide for details.)

    Xin Zhang

    Acknowledged

    File-level comment, Patchset 1:
    Xin Zhang . resolved

    Remove the markdown in github PR, but did not have a permission to edit in gerrit.

    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: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 1
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-Comment-Date: Mon, 08 Jul 2024 04:51:56 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Gopher Robot <go...@golang.org>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 8, 2024, 12:53:34 AM7/8/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, golang-co...@googlegroups.com

      Xin Zhang added 1 comment

      Patchset-level comments
      File-level comment, Patchset 2 (Latest):
      Xin Zhang . resolved

      I will keep in mind to not use markdown in comments.

      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: comment
      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 2
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-Comment-Date: Mon, 08 Jul 2024 04:53:29 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      qiu laidongfeng2 (Gerrit)

      unread,
      Jul 8, 2024, 8:16:05 AM7/8/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and Xin Zhang

      qiu laidongfeng2 voted and added 1 comment

      Votes added by qiu laidongfeng2

      Commit-Queue+1

      1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Remove the markdown in github PR, but did not have a permission to edit in gerrit.

      qiu laidongfeng2

      CL commit description comes from the first content of github PR, if want to change the commit description, please change there.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • Xin Zhang
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 2
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Comment-Date: Mon, 08 Jul 2024 12:15:57 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      qiu laidongfeng2 (Gerrit)

      unread,
      Jul 8, 2024, 8:30:04 AM7/8/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and Xin Zhang

      qiu laidongfeng2 added 1 comment

      Patchset-level comments
      File-level comment, Patchset 2 (Latest):
      qiu laidongfeng2 . resolved

      Please rebase to master to resolve the failure caused by an old branch.Thanks.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • Xin Zhang
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 2
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Comment-Date: Mon, 08 Jul 2024 12:29:57 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 8, 2024, 2:29:43 PM7/8/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      qiu laidongfeng2 . resolved

      Please rebase to master to resolve the failure caused by an old branch.Thanks.

      Xin Zhang

      Hi Laidongfeng,
      Thanks for pointing it out!
      Rebased the to master branch.
      Thanks,
      Xin

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 2
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Comment-Date: Mon, 08 Jul 2024 18:29:38 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: qiu laidongfeng2 <26454...@qq.com>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 8, 2024, 2:31:39 PM7/8/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Remove the markdown in github PR, but did not have a permission to edit in gerrit.

      qiu laidongfeng2

      CL commit description comes from the first content of github PR, if want to change the commit description, please change there.

      Xin Zhang

      Thanks for the info! The only thing I was trying to change is to remove the markdown syntax.

      Gerrit-Comment-Date: Mon, 08 Jul 2024 18:31:34 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
      Comment-In-Reply-To: qiu laidongfeng2 <26454...@qq.com>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Jul 8, 2024, 2:33:49 PM7/8/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot 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:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 3
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 8, 2024, 4:28:37 PM7/8/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      File-level comment, Patchset 3 (Latest):
      Xin Zhang . resolved

      Another question : do I need to create an issue on github for the code change? Sorry for my basic question.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 3
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Mon, 08 Jul 2024 20:28:30 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Michael Matloob (Gerrit)

      unread,
      Jul 12, 2024, 5:15:35 PM7/12/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Sam Thanawalla, Xin Zhang and qiu laidongfeng2

      Michael Matloob added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Another question : do I need to create an issue on github for the code change? Sorry for my basic question.

      Michael Matloob

      Yes, for a change like this there should be an issue that we can get agreement on before we do the code review.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Sam Thanawalla
      • Xin Zhang
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 3
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Fri, 12 Jul 2024 21:15:29 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 12, 2024, 5:25:29 PM7/12/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Another question : do I need to create an issue on github for the code change? Sorry for my basic question.

      Michael Matloob

      Yes, for a change like this there should be an issue that we can get agreement on before we do the code review.

      Xin Zhang

      Hi Michael, got it. Will create an issue and link here, Thanks!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 3
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Fri, 12 Jul 2024 21:25:24 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
      Comment-In-Reply-To: Michael Matloob <mat...@golang.org>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 12, 2024, 5:53:31 PM7/12/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Hi All, created an issue, and link is : https://github.com/golang/go/issues/68407
      Happy to hear any comments!
      Thanks!

      Gerrit-Comment-Date: Fri, 12 Jul 2024 21:53:24 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Jul 12, 2024, 5:56:47 PM7/12/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot uploaded patch set #4 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 4
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 12, 2024, 7:05:21 PM7/12/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      File-level comment, Patchset 4 (Latest):
      Xin Zhang . resolved

      Hi All, my issue was duplicated, the first issue link: https://github.com/golang/go/issues/66078
      Thanks!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 4
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Fri, 12 Jul 2024 23:05:15 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Michael Matloob (Gerrit)

      unread,
      Jul 15, 2024, 10:29:01 AM7/15/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Sam Thanawalla, Xin Zhang and qiu laidongfeng2

      Michael Matloob added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Hi All, my issue was duplicated, the first issue link: https://github.com/golang/go/issues/66078
      Thanks!

      Michael Matloob

      Thanks! let's continue the discussion on that issue. I agree with the issue author that we should just print the basename of the file instead of the full path. I think adding line numbers to the file name sounds reasonable too.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Sam Thanawalla
      • Xin Zhang
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 4
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Mon, 15 Jul 2024 14:28:54 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 15, 2024, 11:21:39 AM7/15/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Hi All, my issue was duplicated, the first issue link: https://github.com/golang/go/issues/66078
      Thanks!

      Michael Matloob

      Thanks! let's continue the discussion on that issue. I agree with the issue author that we should just print the basename of the file instead of the full path. I think adding line numbers to the file name sounds reasonable too.

      Xin Zhang

      Cool!Thank you for checking the issue! Let's continue the discussion on the issue. Meanwhile, I will address the comment to use basename instead of fullpath.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 4
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Mon, 15 Jul 2024 15:21:33 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
      Comment-In-Reply-To: Michael Matloob <mat...@golang.org>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Michael Matloob (Gerrit)

      unread,
      Jul 15, 2024, 11:22:51 AM7/15/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Sam Thanawalla, Xin Zhang and qiu laidongfeng2

      Michael Matloob added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Hi All, my issue was duplicated, the first issue link: https://github.com/golang/go/issues/66078
      Thanks!

      Michael Matloob

      Thanks! let's continue the discussion on that issue. I agree with the issue author that we should just print the basename of the file instead of the full path. I think adding line numbers to the file name sounds reasonable too.

      Xin Zhang

      Cool!Thank you for checking the issue! Let's continue the discussion on the issue. Meanwhile, I will address the comment to use basename instead of fullpath.

      Michael Matloob

      Great! Thanks!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Sam Thanawalla
      • Xin Zhang
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 4
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Mon, 15 Jul 2024 15:22:43 +0000
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Jul 15, 2024, 8:58:04 PM7/15/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla, Xin Zhang and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot uploaded patch set #5 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • Xin Zhang
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 5
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 15, 2024, 8:59:17 PM7/15/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Hi All, my issue was duplicated, the first issue link: https://github.com/golang/go/issues/66078
      Thanks!

      Michael Matloob

      Thanks! let's continue the discussion on that issue. I agree with the issue author that we should just print the basename of the file instead of the full path. I think adding line numbers to the file name sounds reasonable too.

      Xin Zhang

      Cool!Thank you for checking the issue! Let's continue the discussion on the issue. Meanwhile, I will address the comment to use basename instead of fullpath.

      Michael Matloob

      Great! Thanks!

      Xin Zhang
      No problem! Addressed the comment.
      The new message is
      package cyclic-import-example
      imports cyclic-import-example/packageA from main.go:4:5
      imports cyclic-import-example/packageB from a.go:5:2
      imports cyclic-import-example/packageA from bb.go:5:2: import cycle not allowed
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 5
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Tue, 16 Jul 2024 00:59:13 +0000
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Jul 17, 2024, 1:34:52 AM7/17/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot uploaded patch set #6 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 6
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 17, 2024, 1:13:55 PM7/17/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      File-level comment, Patchset 6 (Latest):
      Xin Zhang . resolved

      Hi All, we have some discussion on the issue: https://github.com/golang/go/issues/66078
      Please feel free to add comments.
      Thank you!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 6
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Wed, 17 Jul 2024 17:13:49 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Jul 17, 2024, 2:40:07 PM7/17/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot uploaded patch set #7 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 7
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Jul 17, 2024, 2:55:08 PM7/17/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot uploaded patch set #8 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 8
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 24, 2024, 1:28:31 AM7/24/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      File-level comment, Patchset 8 (Latest):
      Xin Zhang . resolved

      Hi Michael, Laidongfeng, by chance you have time, could you help me to trigger a TryBots-Pass build? Thank you!!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 8
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Wed, 24 Jul 2024 05:28:27 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Michael Matloob (Gerrit)

      unread,
      Jul 24, 2024, 10:43:01 AM7/24/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, qiu laidongfeng2, Go LUCI, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Sam Thanawalla and qiu laidongfeng2

      Michael Matloob voted Commit-Queue+1

      Commit-Queue+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Sam Thanawalla
      • qiu laidongfeng2
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Wed, 24 Jul 2024 14:42:56 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Michael Matloob (Gerrit)

      unread,
      Jul 24, 2024, 10:55:18 AM7/24/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Michael Matloob voted and added 1 comment

      Votes added by Michael Matloob

      Commit-Queue+1

      1 comment

      Patchset-level comments
      Michael Matloob . resolved

      Some tests are failing due to the expected error message not matching what we now produce.

      There also seems to be a test failing in x/tools. It looks like it's parsing the error message. We'll have to update go/packages to expect the new format.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Wed, 24 Jul 2024 14:55:13 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 26, 2024, 12:01:58 AM7/26/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Thanks Michael for triggering the tests! I found that there are tests in which we check if the output of error message of import cycle matches the expected error messages, the tests are from some places inside golang repo and golang/x/tool repo. I will make changes in the tests and maybe another PR for golang/x/tool repo.

      Gerrit-Comment-Date: Fri, 26 Jul 2024 04:01:53 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Jul 27, 2024, 6:04:09 PM7/27/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot uploaded patch set #9 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:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 9
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Jul 27, 2024, 7:04:16 PM7/27/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot uploaded patch set #10 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 10
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 27, 2024, 7:57:50 PM7/27/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      File-level comment, Patchset 8:
      Xin Zhang . resolved

      Hi Michael, I added changes to fix the tests in golang repo. Also I created another PR for a x/tools' test. https://github.com/golang/tools/pull/507, and I do not have a permission to add you as reviewer. By chance you have time, could you take a look?
      Also, It seems we may need to merge the PR of x/tools first to be able to fix the test for the golang CL. Sorry for the inconvenience.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 8
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Sat, 27 Jul 2024 23:57:45 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Jul 27, 2024, 8:56:25 PM7/27/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      File-level comment, Patchset 10 (Latest):
      Xin Zhang . resolved

      Update:
      The x/tools' PR was imported to Gerrit: https://go-review.googlesource.com/c/tools/+/601575

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 10
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Sun, 28 Jul 2024 00:56:20 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Aug 1, 2024, 3:44:57 AM8/1/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Hi Michael, sorry for my late, addressed your comment and submitted the changes. Right now, we keep ImportStack as it was without position info, and add ImportStackWithPos which has the position info. So that, ImportStack is backward compatible.

      Gerrit-Comment-Date: Thu, 01 Aug 2024 07:44:52 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Aug 1, 2024, 3:47:14 AM8/1/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot uploaded patch set #11 to this change.
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 11
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Aug 6, 2024, 12:54:14 AM8/6/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      File-level comment, Patchset 11 (Latest):
      Xin Zhang . resolved

      Hi Michael adn Laidengfeng,
      By chance you have time, could you help me to trigger TryBots-Pass build? Thank you!!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 11
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Tue, 06 Aug 2024 04:54:09 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Aug 6, 2024, 12:55:46 AM8/6/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 2 comments

      Patchset-level comments
      Xin Zhang . resolved

      Hi Michael adn Laidengfeng,
      By chance you have time, could you help me to trigger TryBots-Pass build? Thank you!!

      Xin Zhang

      Hi Michael and Laidongfeng,


      By chance you have time, could you help me to trigger TryBots-Pass build? Thank you!!

      File-level comment, Patchset 11 (Latest):
      Xin Zhang . resolved

      Sorry for my typo

      Gerrit-Comment-Date: Tue, 06 Aug 2024 04:55:41 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Michael Matloob (Gerrit)

      unread,
      Aug 6, 2024, 10:47:50 AM8/6/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Sam Thanawalla and qiu laidongfeng2

      Michael Matloob voted Commit-Queue+1

      Commit-Queue+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Sam Thanawalla
      • qiu laidongfeng2
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Tue, 06 Aug 2024 14:47:45 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Aug 6, 2024, 11:11:15 AM8/6/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      Xin Zhang . resolved

      Thanks Michael! I will look into the errors.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Tue, 06 Aug 2024 15:11:10 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Gerrit Bot (Gerrit)

      unread,
      Aug 9, 2024, 1:41:11 AM8/9/24
      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Gerrit Bot uploaded new patchset

      Gerrit Bot uploaded patch set #12 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:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 12
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Xin Zhang (Gerrit)

      unread,
      Aug 9, 2024, 1:43:42 AM8/9/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

      Xin Zhang added 1 comment

      Patchset-level comments
      File-level comment, Patchset 12 (Latest):
      Xin Zhang . resolved

      Hi Michael, I submitted code for fixing tests. When you have time, please help me to trigger a TryBots-Pass. Thanks for your comment on the other CL, very helpful info for me to find the way to fix.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Matloob
      • Sam Thanawalla
      • qiu laidongfeng2
      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: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
      Gerrit-Change-Number: 597035
      Gerrit-PatchSet: 12
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
      Gerrit-CC: Gopher Robot <go...@golang.org>
      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
      Gerrit-CC: Russ Cox <r...@golang.org>
      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
      Gerrit-Comment-Date: Fri, 09 Aug 2024 05:43:36 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      unsatisfied_requirement
      satisfied_requirement
      open
      diffy

      Michael Matloob (Gerrit)

      unread,
      Aug 12, 2024, 12:03:37 PM8/12/24
      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, Gopher Robot, golang-co...@googlegroups.com
      Attention needed from Sam Thanawalla and qiu laidongfeng2

      Michael Matloob voted Run-TryBot+1

      Run-TryBot+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Sam Thanawalla
      • qiu laidongfeng2
      Submit Requirements:
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedLegacy-TryBots-Pass
        • 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: go
        Gerrit-Branch: master
        Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
        Gerrit-Change-Number: 597035
        Gerrit-PatchSet: 12
        Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
        Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
        Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
        Gerrit-CC: Gopher Robot <go...@golang.org>
        Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
        Gerrit-CC: Russ Cox <r...@golang.org>
        Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
        Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
        Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
        Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
        Gerrit-Comment-Date: Mon, 12 Aug 2024 16:03:30 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        unsatisfied_requirement
        satisfied_requirement
        open
        diffy

        Xin Zhang (Gerrit)

        unread,
        Aug 12, 2024, 1:35:04 PM8/12/24
        to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Michael Matloob, Go LUCI, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
        Attention needed from Sam Thanawalla and qiu laidongfeng2

        Xin Zhang added 1 comment

        Patchset-level comments
        Gopher Robot . unresolved

        TryBots beginning. Status page: https://farmer.golang.org/try?commit=089f437c

        Gopher Robot

        1 of 1 TryBots failed.
        Failed on freebsd-amd64-12_3: https://storage.googleapis.com/go-build-log/089f437c/freebsd-amd64-12_3_a7f5e38e.log

        Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test *exactly* your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.

        Xin Zhang

        Hi Michael, thanks for triggering the tests! I will look into the failing test (freebsd-amd64-12_3)

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Sam Thanawalla
        • qiu laidongfeng2
        Submit Requirements:
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedLegacy-TryBots-Pass
          • 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: comment
          Gerrit-Project: go
          Gerrit-Branch: master
          Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
          Gerrit-Change-Number: 597035
          Gerrit-PatchSet: 12
          Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
          Gerrit-Reviewer: Gopher Robot <go...@golang.org>
          Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
          Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
          Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
          Gerrit-CC: Russ Cox <r...@golang.org>
          Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
          Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
          Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
          Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
          Gerrit-Comment-Date: Mon, 12 Aug 2024 17:34:58 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Gopher Robot <go...@golang.org>
          unsatisfied_requirement
          open
          diffy

          Michael Matloob (Gerrit)

          unread,
          Aug 12, 2024, 1:52:04 PM8/12/24
          to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Go LUCI, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
          Attention needed from Sam Thanawalla, Xin Zhang and qiu laidongfeng2

          Michael Matloob added 1 comment

          Patchset-level comments
          Gopher Robot . unresolved

          TryBots beginning. Status page: https://farmer.golang.org/try?commit=089f437c

          Gopher Robot

          1 of 1 TryBots failed.
          Failed on freebsd-amd64-12_3: https://storage.googleapis.com/go-build-log/089f437c/freebsd-amd64-12_3_a7f5e38e.log

          Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test *exactly* your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.

          Xin Zhang

          Hi Michael, thanks for triggering the tests! I will look into the failing test (freebsd-amd64-12_3)

          Michael Matloob

          Thanks!

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Sam Thanawalla
          • Xin Zhang
          • qiu laidongfeng2
          Submit Requirements:
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedLegacy-TryBots-Pass
          • 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: comment
          Gerrit-Project: go
          Gerrit-Branch: master
          Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
          Gerrit-Change-Number: 597035
          Gerrit-PatchSet: 12
          Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
          Gerrit-Reviewer: Gopher Robot <go...@golang.org>
          Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
          Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
          Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
          Gerrit-CC: Russ Cox <r...@golang.org>
          Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
          Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
          Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
          Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
          Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
          Gerrit-Comment-Date: Mon, 12 Aug 2024 17:51:58 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
          Comment-In-Reply-To: Gopher Robot <go...@golang.org>
          unsatisfied_requirement
          open
          diffy

          Gerrit Bot (Gerrit)

          unread,
          Aug 13, 2024, 4:08:26 AM8/13/24
          to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
          Attention needed from Michael Matloob, Sam Thanawalla, Xin Zhang and qiu laidongfeng2

          Gerrit Bot uploaded new patchset

          Gerrit Bot uploaded patch set #13 to this change.
          Following approvals got outdated and were removed:
          • Legacy-TryBots-Pass: TryBot-Result-1 by Gopher Robot, Run-TryBot+1 by Michael Matloob
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Michael Matloob
          • Sam Thanawalla
          • Xin Zhang
          • qiu laidongfeng2
            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: go
              Gerrit-Branch: master
              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
              Gerrit-Change-Number: 597035
              Gerrit-PatchSet: 13
              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
              Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
              Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
              Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
              Gerrit-CC: Russ Cox <r...@golang.org>
              Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
              Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
              Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
              Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
              unsatisfied_requirement
              open
              diffy

              Xin Zhang (Gerrit)

              unread,
              Aug 13, 2024, 10:43:31 AM8/13/24
              to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Michael Matloob, Go LUCI, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

              Xin Zhang added 1 comment

              Patchset-level comments
              File-level comment, Patchset 12:
              Gopher Robot . resolved

              TryBots beginning. Status page: https://farmer.golang.org/try?commit=089f437c

              Gopher Robot

              1 of 1 TryBots failed.
              Failed on freebsd-amd64-12_3: https://storage.googleapis.com/go-build-log/089f437c/freebsd-amd64-12_3_a7f5e38e.log

              Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test *exactly* your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.

              Xin Zhang

              Hi Michael, thanks for triggering the tests! I will look into the failing test (freebsd-amd64-12_3)

              Michael Matloob

              Thanks!

              Xin Zhang

              Hi Michael! Good morning! When you have time, could you please help me to trigger the TryBots? Thank you!

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Michael Matloob
              • Sam Thanawalla
              • qiu laidongfeng2
              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: go
                Gerrit-Branch: master
                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                Gerrit-Change-Number: 597035
                Gerrit-PatchSet: 12
                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                Gerrit-CC: Russ Cox <r...@golang.org>
                Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                Gerrit-Attention: Michael Matloob <mat...@golang.org>
                Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                Gerrit-Comment-Date: Tue, 13 Aug 2024 14:43:26 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
                Comment-In-Reply-To: Gopher Robot <go...@golang.org>
                Comment-In-Reply-To: Michael Matloob <mat...@golang.org>
                unsatisfied_requirement
                satisfied_requirement
                open
                diffy

                Michael Matloob (Gerrit)

                unread,
                Aug 13, 2024, 11:19:17 AM8/13/24
                to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Go LUCI, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                Attention needed from Sam Thanawalla and qiu laidongfeng2

                Michael Matloob voted Run-TryBot+1

                Run-TryBot+1
                Open in Gerrit

                Related details

                Attention is currently required from:
                • Sam Thanawalla
                • qiu laidongfeng2
                Submit Requirements:
                  • requirement is not satisfiedCode-Review
                  • requirement is not satisfiedLegacy-TryBots-Pass
                  • 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: go
                  Gerrit-Branch: master
                  Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                  Gerrit-Change-Number: 597035
                  Gerrit-PatchSet: 13
                  Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                  Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                  Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                  Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                  Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                  Gerrit-CC: Russ Cox <r...@golang.org>
                  Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                  Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                  Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                  Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                  Gerrit-Comment-Date: Tue, 13 Aug 2024 15:19:12 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: Yes
                  unsatisfied_requirement
                  satisfied_requirement
                  open
                  diffy

                  Xin Zhang (Gerrit)

                  unread,
                  Aug 13, 2024, 2:33:17 PM8/13/24
                  to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Michael Matloob, Go LUCI, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                  Attention needed from Sam Thanawalla and qiu laidongfeng2

                  Xin Zhang added 1 comment

                  Patchset-level comments
                  File-level comment, Patchset 13 (Latest):
                  Gopher Robot . resolved

                  TryBots beginning. Status page: https://farmer.golang.org/try?commit=c20c0c55

                  Gopher Robot

                  1 of 1 TryBots failed.

                  Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test *exactly* your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.

                  Xin Zhang
                  Hi Michael, seems the error is a connection error in tests.
                  --- FAIL: TestCrossVersionResume (0.02s)
                  --- FAIL: TestCrossVersionResume/TLSv12 (0.01s)
                  handshake_test.go:495: failed to call cli.Close: close tcp 127.0.0.1:59412->127.0.0.1:13448: connection reset by peer
                  --- FAIL: TestHandshakeKyber (0.00s)
                  --- FAIL: TestHandshakeKyber/ServerCurvePreferencesHRR (0.00s)
                  handshake_test.go:495: failed to call cli.Close: close tcp 127.0.0.1:59666->127.0.0.1:13448: connection reset by peer

                  Seems unrelated to the CL change. When you have time, could you try to re-run it?

                  Gerrit-Comment-Date: Tue, 13 Aug 2024 18:33:13 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: No
                  Comment-In-Reply-To: Gopher Robot <go...@golang.org>
                  unsatisfied_requirement
                  satisfied_requirement
                  open
                  diffy

                  Michael Matloob (Gerrit)

                  unread,
                  Aug 13, 2024, 2:36:27 PM8/13/24
                  to Gerrit Bot, goph...@pubsubhelper.golang.org, Gopher Robot, Go LUCI, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                  Attention needed from Sam Thanawalla and qiu laidongfeng2

                  Michael Matloob voted Commit-Queue+1

                  Commit-Queue+1
                  Gerrit-Comment-Date: Tue, 13 Aug 2024 18:36:21 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: Yes
                  unsatisfied_requirement
                  satisfied_requirement
                  open
                  diffy

                  Xin Zhang (Gerrit)

                  unread,
                  Aug 13, 2024, 2:59:43 PM8/13/24
                  to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                  Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                  Xin Zhang added 1 comment

                  Patchset-level comments
                  Xin Zhang . resolved

                  Hi Michael, seeing errors in the tests, will fix them. Thanks!

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Michael Matloob
                  • Sam Thanawalla
                  • qiu laidongfeng2
                  Gerrit-Attention: Michael Matloob <mat...@golang.org>
                  Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                  Gerrit-Comment-Date: Tue, 13 Aug 2024 18:59:38 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: No
                  unsatisfied_requirement
                  satisfied_requirement
                  open
                  diffy

                  Gerrit Bot (Gerrit)

                  unread,
                  Aug 14, 2024, 12:03:30 AM8/14/24
                  to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                  Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                  Gerrit Bot uploaded new patchset

                  Gerrit Bot uploaded patch set #14 to this change.
                  Following approvals got outdated and were removed:
                  • Legacy-TryBots-Pass: TryBot-Result-1 by Gopher Robot, Run-TryBot+1 by Michael Matloob
                  • TryBots-Pass: LUCI-TryBot-Result-1 by Go LUCI

                  Related details

                  Attention is currently required from:
                  • Michael Matloob
                  • Sam Thanawalla
                  • qiu laidongfeng2
                  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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 14
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Gerrit Bot (Gerrit)

                    unread,
                    Aug 14, 2024, 12:17:48 AM8/14/24
                    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Gerrit Bot uploaded new patchset

                    Gerrit Bot uploaded patch set #15 to this change.
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 15
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Xin Zhang (Gerrit)

                    unread,
                    Aug 14, 2024, 1:38:07 AM8/14/24
                    to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Xin Zhang added 1 comment

                    Patchset-level comments
                    File-level comment, Patchset 13:
                    Xin Zhang . resolved

                    Hi Michael, I fixed the npe and some other error. And I have questions about the tests under /TestScript, somehow it does not use the golang change in this CL instead it uses the golang version without the CL change.
                    Wondering how to specify to use go version in the CL instead of local go version? Thanks!

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 13
                    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                    Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                    Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                    Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                    Gerrit-CC: Russ Cox <r...@golang.org>
                    Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                    Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                    Gerrit-Attention: Michael Matloob <mat...@golang.org>
                    Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Comment-Date: Wed, 14 Aug 2024 05:38:00 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: No
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Gerrit Bot (Gerrit)

                    unread,
                    Aug 18, 2024, 6:03:41 PM8/18/24
                    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Gerrit Bot uploaded new patchset

                    Gerrit Bot uploaded patch set #16 to this change.
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 16
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Gerrit Bot (Gerrit)

                    unread,
                    Aug 18, 2024, 6:10:35 PM8/18/24
                    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Gerrit Bot uploaded new patchset

                    Gerrit Bot uploaded patch set #17 to this change.
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 17
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Gerrit Bot (Gerrit)

                    unread,
                    Aug 18, 2024, 6:17:26 PM8/18/24
                    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Gerrit Bot uploaded new patchset

                    Gerrit Bot uploaded patch set #18 to this change.
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 18
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Xin Zhang (Gerrit)

                    unread,
                    Aug 18, 2024, 6:23:16 PM8/18/24
                    to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Xin Zhang added 1 comment

                    Patchset-level comments
                    File-level comment, Patchset 18 (Latest):
                    Xin Zhang . resolved

                    Hi Michael, I finally figured out the list_import_cycle_deps_errors test (it was because I need to add ImportStackWithPos in anonymous struct https://github.com/golang/go/pull/68337/files#diff-abdadaf0d85a2e6c8e45da716909b2697d830b0c75149b9e35accda9c38622bdR507),
                    the CL is ready for another trybot-pass, when you have time, please help me to trigger it, thank you so much!

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 18
                    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                    Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                    Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                    Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                    Gerrit-CC: Russ Cox <r...@golang.org>
                    Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                    Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                    Gerrit-Attention: Michael Matloob <mat...@golang.org>
                    Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Comment-Date: Sun, 18 Aug 2024 22:23:10 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: No
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Michael Matloob (Gerrit)

                    unread,
                    Aug 20, 2024, 12:25:30 PM8/20/24
                    to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                    Attention needed from Sam Thanawalla and qiu laidongfeng2

                    Michael Matloob voted Commit-Queue+1

                    Commit-Queue+1
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Comment-Date: Tue, 20 Aug 2024 16:25:25 +0000
                    Gerrit-HasComments: No
                    Gerrit-Has-Labels: Yes
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Xin Zhang (Gerrit)

                    unread,
                    Aug 20, 2024, 1:51:17 PM8/20/24
                    to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Xin Zhang added 1 comment

                    Patchset-level comments
                    Xin Zhang . resolved

                    Hi Michael, thank you so much for triggering the tests! I will look into the errors.

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    Gerrit-Attention: Michael Matloob <mat...@golang.org>
                    Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Comment-Date: Tue, 20 Aug 2024 17:51:11 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: No
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Gerrit Bot (Gerrit)

                    unread,
                    Aug 21, 2024, 1:42:36 AM8/21/24
                    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Gerrit Bot uploaded new patchset

                    Gerrit Bot uploaded patch set #19 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:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 19
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Gerrit Bot (Gerrit)

                    unread,
                    Aug 21, 2024, 2:53:56 AM8/21/24
                    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Gerrit Bot uploaded new patchset

                    Gerrit Bot uploaded patch set #20 to this change.
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 20
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Xin Zhang (Gerrit)

                    unread,
                    Aug 21, 2024, 2:55:21 AM8/21/24
                    to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                    Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                    Xin Zhang added 1 comment

                    Patchset-level comments
                    File-level comment, Patchset 18:
                    Xin Zhang . resolved

                    Hi Michael, I fixed all errors. For the error of list_test_cycle, I reverted some code change for this test because in the ImportStack implementation of load/test.go, The reason is because it does not have token.position for ImportStack, so that we could not find a proper golang file name for each import.
                    Please let me know if you think it makes sense or not.

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Michael Matloob
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 18
                    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                    Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                    Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                    Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                    Gerrit-CC: Russ Cox <r...@golang.org>
                    Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                    Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                    Gerrit-Attention: Michael Matloob <mat...@golang.org>
                    Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Comment-Date: Wed, 21 Aug 2024 06:55:14 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: No
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Michael Matloob (Gerrit)

                    unread,
                    Aug 21, 2024, 11:13:51 AM8/21/24
                    to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                    Attention needed from Sam Thanawalla and qiu laidongfeng2

                    Michael Matloob voted Commit-Queue+1

                    Commit-Queue+1
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Sam Thanawalla
                    • qiu laidongfeng2
                    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: go
                    Gerrit-Branch: master
                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                    Gerrit-Change-Number: 597035
                    Gerrit-PatchSet: 20
                    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                    Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                    Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                    Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                    Gerrit-CC: Russ Cox <r...@golang.org>
                    Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                    Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                    Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                    Gerrit-Comment-Date: Wed, 21 Aug 2024 15:13:46 +0000
                    Gerrit-HasComments: No
                    Gerrit-Has-Labels: Yes
                    unsatisfied_requirement
                    satisfied_requirement
                    open
                    diffy

                    Michael Matloob (Gerrit)

                    unread,
                    Aug 21, 2024, 2:26:58 PM8/21/24
                    to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                    Attention needed from Sam Thanawalla, Xin Zhang and qiu laidongfeng2

                    Michael Matloob added 1 comment

                    Patchset-level comments
                    Xin Zhang . resolved

                    Hi Michael, I fixed all errors. For the error of list_test_cycle, I reverted some code change for this test because in the ImportStack implementation of load/test.go, The reason is because it does not have token.position for ImportStack, so that we could not find a proper golang file name for each import.
                    Please let me know if you think it makes sense or not.

                    Michael Matloob

                    Hm, can we get the import position info from p.Internal.Build.ImportPos?

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Sam Thanawalla
                    • Xin Zhang
                    • qiu laidongfeng2
                    Submit Requirements:
                      • requirement is not satisfiedCode-Review
                      • requirement 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: go
                      Gerrit-Branch: master
                      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                      Gerrit-Change-Number: 597035
                      Gerrit-PatchSet: 20
                      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                      Gerrit-CC: Russ Cox <r...@golang.org>
                      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                      Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
                      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                      Gerrit-Comment-Date: Wed, 21 Aug 2024 18:26:53 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
                      unsatisfied_requirement
                      satisfied_requirement
                      open
                      diffy

                      Xin Zhang (Gerrit)

                      unread,
                      Aug 21, 2024, 2:36:40 PM8/21/24
                      to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                      Xin Zhang added 1 comment

                      Patchset-level comments
                      Xin Zhang . resolved

                      Hi Michael, I fixed all errors. For the error of list_test_cycle, I reverted some code change for this test because in the ImportStack implementation of load/test.go, The reason is because it does not have token.position for ImportStack, so that we could not find a proper golang file name for each import.
                      Please let me know if you think it makes sense or not.

                      Michael Matloob

                      Hm, can we get the import position info from p.Internal.Build.ImportPos?

                      Xin Zhang

                      Oh, I see, good to know! Yes, I will use that field, thanks for the info!

                      Open in Gerrit

                      Related details

                      Attention is currently required from:
                      • Michael Matloob
                      • Sam Thanawalla
                      • qiu laidongfeng2
                      Submit Requirements:
                      • requirement is not satisfiedCode-Review
                      • requirement 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: go
                      Gerrit-Branch: master
                      Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                      Gerrit-Change-Number: 597035
                      Gerrit-PatchSet: 20
                      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                      Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                      Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                      Gerrit-CC: Russ Cox <r...@golang.org>
                      Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                      Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                      Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                      Gerrit-Attention: Michael Matloob <mat...@golang.org>
                      Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                      Gerrit-Comment-Date: Wed, 21 Aug 2024 18:36:32 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      Comment-In-Reply-To: Xin Zhang <xzhang...@gmail.com>
                      Comment-In-Reply-To: Michael Matloob <mat...@golang.org>
                      unsatisfied_requirement
                      satisfied_requirement
                      open
                      diffy

                      Gerrit Bot (Gerrit)

                      unread,
                      Aug 22, 2024, 3:30:19 AM8/22/24
                      to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                      Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                      Gerrit Bot uploaded new patchset

                      Gerrit Bot uploaded patch set #21 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:
                      • Michael Matloob
                      • Sam Thanawalla
                      • qiu laidongfeng2
                      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: go
                        Gerrit-Branch: master
                        Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                        Gerrit-Change-Number: 597035
                        Gerrit-PatchSet: 21
                        unsatisfied_requirement
                        satisfied_requirement
                        open
                        diffy

                        Xin Zhang (Gerrit)

                        unread,
                        Aug 22, 2024, 2:07:56 PM8/22/24
                        to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                        Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                        Xin Zhang added 2 comments

                        Patchset-level comments
                        Xin Zhang . resolved

                        Hi Michael, I fixed all errors. For the error of list_test_cycle, I reverted some code change for this test because in the ImportStack implementation of load/test.go, The reason is because it does not have token.position for ImportStack, so that we could not find a proper golang file name for each import.
                        Please let me know if you think it makes sense or not.

                        Michael Matloob

                        Hm, can we get the import position info from p.Internal.Build.ImportPos?

                        Xin Zhang

                        Oh, I see, good to know! Yes, I will use that field, thanks for the info!

                        Xin Zhang

                        Hi Michael, good afternoon! When you have time, could you help me to trigger a trybot-

                        File-level comment, Patchset 21 (Latest):
                        Xin Zhang . resolved

                        Hi Michael, good afternoon! I addressed your comment about using internal.Build.ImportPos. When you have time, could you help me to trigger a tryBots-pass.

                        Open in Gerrit

                        Related details

                        Attention is currently required from:
                        • Michael Matloob
                        • Sam Thanawalla
                        • qiu laidongfeng2
                        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: go
                        Gerrit-Branch: master
                        Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                        Gerrit-Change-Number: 597035
                        Gerrit-PatchSet: 21
                        Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                        Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                        Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                        Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                        Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                        Gerrit-CC: Russ Cox <r...@golang.org>
                        Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                        Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                        Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                        Gerrit-Attention: Michael Matloob <mat...@golang.org>
                        Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                        Gerrit-Comment-Date: Thu, 22 Aug 2024 18:07:51 +0000
                        unsatisfied_requirement
                        satisfied_requirement
                        open
                        diffy

                        Michael Matloob (Gerrit)

                        unread,
                        Aug 22, 2024, 2:28:19 PM8/22/24
                        to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                        Attention needed from Sam Thanawalla and qiu laidongfeng2

                        Michael Matloob voted Commit-Queue+1

                        Commit-Queue+1
                        Open in Gerrit

                        Related details

                        Attention is currently required from:
                        • Sam Thanawalla
                        • qiu laidongfeng2
                        Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                        Gerrit-Comment-Date: Thu, 22 Aug 2024 18:28:13 +0000
                        Gerrit-HasComments: No
                        Gerrit-Has-Labels: Yes
                        unsatisfied_requirement
                        satisfied_requirement
                        open
                        diffy

                        Xin Zhang (Gerrit)

                        unread,
                        Aug 28, 2024, 4:30:35 PM8/28/24
                        to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                        Attention needed from Sam Thanawalla and qiu laidongfeng2

                        Xin Zhang added 1 comment

                        Patchset-level comments
                        Xin Zhang . resolved

                        Hi Michael, when you have time, could you help to review the code change in the CL?
                        Thank you!

                        Open in Gerrit

                        Related details

                        Attention is currently required from:
                        • Sam Thanawalla
                        • qiu laidongfeng2
                        Submit Requirements:
                          • requirement is not satisfiedCode-Review
                          • requirement 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: go
                          Gerrit-Branch: master
                          Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                          Gerrit-Change-Number: 597035
                          Gerrit-PatchSet: 21
                          Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                          Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                          Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                          Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                          Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                          Gerrit-CC: Russ Cox <r...@golang.org>
                          Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                          Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                          Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                          Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                          Gerrit-Comment-Date: Wed, 28 Aug 2024 20:30:28 +0000
                          Gerrit-HasComments: Yes
                          Gerrit-Has-Labels: No
                          unsatisfied_requirement
                          satisfied_requirement
                          open
                          diffy

                          Michael Matloob (Gerrit)

                          unread,
                          Sep 3, 2024, 4:21:06 PM9/3/24
                          to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                          Attention needed from Sam Thanawalla and qiu laidongfeng2

                          Michael Matloob added 12 comments

                          Commit Message
                          Line 7, Patchset 21 (Latest):Internal/load: add more details for import cycle not allowed error
                          Michael Matloob . unresolved

                          "cmd/go/internal/load" or "cmd/go"

                          You may have to shorten the rest of the message to get everything to fit.

                          Line 12, Patchset 21 (Latest):```
                          Michael Matloob . unresolved

                          Please remove the backticks here and below.

                          Line 18, Patchset 21 (Latest):
                          Michael Matloob . unresolved

                          add "Fixes #66078"

                          File src/cmd/go/internal/list/list.go
                          Line 139, Patchset 21 (Latest): ImportStackWithPos []string // shortest path from package named on command line to this one with position
                          Michael Matloob . unresolved

                          I think we should remove this too. See the comment on MarshalJSON.

                          Line 142, Patchset 21 (Latest): IsImportCycle bool // the error is an import cycle
                          Hard bool // whether the error is soft or hard; soft errors are ignored in some places
                          alwaysPrintStack bool // whether to always print the ImportStack
                          }
                          Michael Matloob . unresolved

                          Please remove these from the documentation since we don't marshal them with MarshalJSON.

                          File src/cmd/go/internal/load/pkg.go
                          Line 461, Patchset 21 (Latest): ImportStack []string // shortest path from package named on command line to this one
                          ImportStackWithPos []string // shortest path from package named on command line to this one with position
                          Pos string // position of error
                          Michael Matloob . unresolved

                          I think we should have a single field of type ImportStack ([]*ImportInfo). Then we can move all the formatting to be done by PackageError.Error (or a function that it calls)

                          MarshalJSON would have to call Copy itself. (though I think we should change the name. see below)

                          Line 507, Patchset 21 (Latest): ImportStackWithPos []string
                          Michael Matloob . unresolved

                          I don't think we should include ImportStackWithPos in the JSON output unless we're sure that we have a usage. (I also think that if we want to marshal the positions of the import stack it should be in a more structured format)

                          Line 571, Patchset 21 (Latest):type ImportInfo struct {
                          Michael Matloob . unresolved

                          I think we should probably unexport this. It's mostly an internal implementation detail. I think the reason it currently needs to be exported is so we can pass a path and pos in to Push in internal/work/action.go. But I think we can just have push take (string, []token.Position) as arguments and construct the import info itself.

                          Line 573, Patchset 21 (Latest): Pos []token.Position
                          Michael Matloob . unresolved

                          Could we use a token.Position rather than a slice? If the input []token.Position has at least one element we can use pos[0], and otherwise we can just use an empty token.Position{}.

                          Then instead of checking the length of this field to determine whether there is a position to print, we can just call IsValid() on the position. (It will return false for empty positions)

                          Line 589, Patchset 21 (Latest):func (s *ImportStack) Copy() []string {
                          Michael Matloob . unresolved

                          I think we should keep the previous version of Copy, but also add a new function with a different name that does what this function does so we can extract the set of packages for marshaling the JSON.

                          Line 624, Patchset 21 (Latest): ss = append(ss, v.Pkg+" from "+trimLineNumber(convertToBasename(v.Pos[0].String())))
                          Michael Matloob . unresolved

                          I think it would be better for us to construct the string from v.Pos rather than calling String() and then doing string manipulation on it.

                          File src/cmd/go/testdata/script/list_import_cycle_deps_errors.txt
                          Line 15, Patchset 21 (Latest): "ImportStackWithPos": [
                          Michael Matloob . unresolved

                          See comment on PackageError.MarshalJSON. I don't think we should marshal the ImportStackWithPos field.

                          Open in Gerrit

                          Related details

                          Attention is currently required from:
                          • Sam Thanawalla
                          • qiu laidongfeng2
                          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: go
                            Gerrit-Branch: master
                            Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                            Gerrit-Change-Number: 597035
                            Gerrit-PatchSet: 21
                            Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                            Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                            Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                            Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                            Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                            Gerrit-CC: Russ Cox <r...@golang.org>
                            Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                            Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                            Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                            Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                            Gerrit-Comment-Date: Tue, 03 Sep 2024 20:21:01 +0000
                            Gerrit-HasComments: Yes
                            Gerrit-Has-Labels: No
                            unsatisfied_requirement
                            satisfied_requirement
                            open
                            diffy

                            Xin Zhang (Gerrit)

                            unread,
                            Sep 3, 2024, 5:48:25 PM9/3/24
                            to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                            Attention needed from Sam Thanawalla and qiu laidongfeng2

                            Xin Zhang added 1 comment

                            Patchset-level comments
                            Xin Zhang . resolved

                            Hi Michael, thank you so much for the comments! Will address them.

                            Gerrit-Comment-Date: Tue, 03 Sep 2024 21:48:13 +0000
                            Gerrit-HasComments: Yes
                            Gerrit-Has-Labels: No
                            unsatisfied_requirement
                            satisfied_requirement
                            open
                            diffy

                            Gerrit Bot (Gerrit)

                            unread,
                            Sep 5, 2024, 1:22:40 AM9/5/24
                            to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                            Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                            Gerrit Bot uploaded new patchset

                            Gerrit Bot uploaded patch set #22 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:
                            • Michael Matloob
                            • Sam Thanawalla
                            • qiu laidongfeng2
                            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: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 22
                              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                              Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                              Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                              Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                              Gerrit-CC: Russ Cox <r...@golang.org>
                              Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                              Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                              unsatisfied_requirement
                              open
                              diffy

                              Gerrit Bot (Gerrit)

                              unread,
                              Sep 5, 2024, 2:04:11 AM9/5/24
                              to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Gerrit Bot uploaded new patchset

                              Gerrit Bot uploaded patch set #23 to this change.
                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 23
                              unsatisfied_requirement
                              open
                              diffy

                              Gerrit Bot (Gerrit)

                              unread,
                              Sep 5, 2024, 2:11:15 AM9/5/24
                              to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Gerrit Bot uploaded new patchset

                              Gerrit Bot uploaded patch set #24 to this change.
                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 24
                              unsatisfied_requirement
                              open
                              diffy

                              Xin Zhang (Gerrit)

                              unread,
                              Sep 5, 2024, 2:32:41 AM9/5/24
                              to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Xin Zhang added 10 comments

                              Commit Message
                              Line 7, Patchset 21:Internal/load: add more details for import cycle not allowed error
                              Michael Matloob . resolved

                              "cmd/go/internal/load" or "cmd/go"

                              You may have to shorten the rest of the message to get everything to fit.

                              Xin Zhang

                              Thanks for pointing it out!
                              The new title and summary are :
                              cmd/go: add file names for cyclic import error

                              For some reason, I could not update the commit info.
                              When click save:

                              An error occurred
                              Error 403: modifying commit message not permitted

                              Endpoint: /changes/~/message

                              Line 7, Patchset 21:Internal/load: add more details for import cycle not allowed error
                              Michael Matloob . resolved

                              "cmd/go/internal/load" or "cmd/go"

                              You may have to shorten the rest of the message to get everything to fit.

                              Xin Zhang

                              Thanks for pointing it out!
                              The new title and summary are :
                              cmd/go: add file names for cyclic import error

                              For some reason, I could not update the commit info.
                              When click save:

                              An error occurred
                              Error 403: modifying commit message not permitted

                              Endpoint: /changes/*~*/message

                              Michael Matloob . unresolved

                              Please remove the backticks here and below.

                              Xin Zhang

                              Thanks for highlighting that!
                              I tried to remove it, but when clicking the save button, got 403 error.

                              Line 12, Patchset 21:```
                              Michael Matloob . resolved

                              Please remove the backticks here and below.

                              Xin Zhang

                              Yes, but got the same 403 error when clicking save.

                              Line 18, Patchset 21:
                              Michael Matloob . resolved

                              add "Fixes #66078"

                              Xin Zhang

                              Yes, but got the same 403 error when clicking save.

                              Line 18, Patchset 21:
                              Michael Matloob . resolved

                              add "Fixes #66078"

                              Xin Zhang

                              Yes, but got the same 403 error when clicking save.

                              File src/cmd/go/internal/list/list.go
                              Line 139, Patchset 21: ImportStackWithPos []string // shortest path from package named on command line to this one with position
                              Michael Matloob . resolved

                              I think we should remove this too. See the comment on MarshalJSON.

                              Xin Zhang

                              Done

                              Line 142, Patchset 21: IsImportCycle bool // the error is an import cycle

                              Hard bool // whether the error is soft or hard; soft errors are ignored in some places
                              alwaysPrintStack bool // whether to always print the ImportStack
                              }
                              Michael Matloob . resolved

                              Please remove these from the documentation since we don't marshal them with MarshalJSON.

                              Xin Zhang

                              Done

                              File src/cmd/go/internal/load/pkg.go
                              Line 624, Patchset 21: ss = append(ss, v.Pkg+" from "+trimLineNumber(convertToBasename(v.Pos[0].String())))
                              Michael Matloob . resolved

                              I think it would be better for us to construct the string from v.Pos rather than calling String() and then doing string manipulation on it.

                              Xin Zhang

                              Done, yes, I find that there is Filename var from Pos, so we could directly use it to simplify the code and without extracting basename and trimming number.

                              File src/cmd/go/testdata/script/list_import_cycle_deps_errors.txt
                              Line 15, Patchset 21: "ImportStackWithPos": [
                              Michael Matloob . resolved

                              See comment on PackageError.MarshalJSON. I don't think we should marshal the ImportStackWithPos field.

                              Xin Zhang

                              Done

                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: comment
                              Gerrit-Project: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 21
                              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                              Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                              Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                              Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                              Gerrit-CC: Russ Cox <r...@golang.org>
                              Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                              Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                              Gerrit-Attention: Michael Matloob <mat...@golang.org>
                              Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Comment-Date: Thu, 05 Sep 2024 06:32:35 +0000
                              Gerrit-HasComments: Yes
                              Gerrit-Has-Labels: No
                              Comment-In-Reply-To: Michael Matloob <mat...@golang.org>
                              unsatisfied_requirement
                              open
                              diffy

                              Xin Zhang (Gerrit)

                              unread,
                              Sep 5, 2024, 2:34:02 AM9/5/24
                              to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Xin Zhang added 1 comment

                              Patchset-level comments
                              File-level comment, Patchset 24 (Latest):
                              Xin Zhang . resolved

                              Hi Michael, I finished addressing some of comments and still addressing other comments, will let you know when the CL is ready for another round of review. Thanks!

                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: comment
                              Gerrit-Project: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 24
                              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                              Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                              Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                              Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                              Gerrit-CC: Russ Cox <r...@golang.org>
                              Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                              Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                              Gerrit-Attention: Michael Matloob <mat...@golang.org>
                              Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Comment-Date: Thu, 05 Sep 2024 06:33:57 +0000
                              Gerrit-HasComments: Yes
                              Gerrit-Has-Labels: No
                              unsatisfied_requirement
                              open
                              diffy

                              Michael Matloob (Gerrit)

                              unread,
                              Sep 5, 2024, 10:14:58 AM9/5/24
                              to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                              Attention needed from Sam Thanawalla, Xin Zhang and qiu laidongfeng2

                              Michael Matloob added 1 comment

                              Commit Message
                              Line 7, Patchset 21:Internal/load: add more details for import cycle not allowed error
                              Michael Matloob . resolved

                              "cmd/go/internal/load" or "cmd/go"

                              You may have to shorten the rest of the message to get everything to fit.

                              Xin Zhang

                              Thanks for pointing it out!
                              The new title and summary are :
                              cmd/go: add file names for cyclic import error

                              For some reason, I could not update the commit info.
                              When click save:

                              An error occurred
                              Error 403: modifying commit message not permitted

                              Endpoint: /changes/*~*/message

                              Michael Matloob

                              Hi, I am not too familiar with the Github workflow but I believe the first line is taken from the title of the github pull request and the rest are taken from the first comment. Could you try editing those?

                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Sam Thanawalla
                              • Xin Zhang
                              • qiu laidongfeng2
                              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: comment
                              Gerrit-Project: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 24
                              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                              Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                              Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                              Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                              Gerrit-CC: Russ Cox <r...@golang.org>
                              Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                              Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
                              Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                              Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Comment-Date: Thu, 05 Sep 2024 14:14:52 +0000
                              Gerrit-HasComments: Yes
                              Gerrit-Has-Labels: No
                              unsatisfied_requirement
                              open
                              diffy

                              Gerrit Bot (Gerrit)

                              unread,
                              Sep 5, 2024, 3:01:18 PM9/5/24
                              to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla, Xin Zhang and qiu laidongfeng2

                              Gerrit Bot uploaded new patchset

                              Gerrit Bot uploaded patch set #25 to this change.
                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • Xin Zhang
                              • qiu laidongfeng2
                              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: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 25
                              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                              Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                              Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                              Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                              Gerrit-CC: Russ Cox <r...@golang.org>
                              Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                              Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
                              Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                              unsatisfied_requirement
                              open
                              diffy

                              Xin Zhang (Gerrit)

                              unread,
                              Sep 5, 2024, 3:01:56 PM9/5/24
                              to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Xin Zhang added 1 comment

                              Commit Message
                              Line 7, Patchset 21:Internal/load: add more details for import cycle not allowed error
                              Michael Matloob . resolved

                              "cmd/go/internal/load" or "cmd/go"

                              You may have to shorten the rest of the message to get everything to fit.

                              Xin Zhang

                              Thanks for pointing it out!
                              The new title and summary are :
                              cmd/go: add file names for cyclic import error

                              For some reason, I could not update the commit info.
                              When click save:

                              An error occurred
                              Error 403: modifying commit message not permitted

                              Endpoint: /changes/*~*/message

                              Michael Matloob

                              Hi, I am not too familiar with the Github workflow but I believe the first line is taken from the title of the github pull request and the rest are taken from the first comment. Could you try editing those?

                              Xin Zhang

                              Hi Michael, thanks for the suggestion! I edited on github, hope CL will sync up with the github change.

                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: comment
                              Gerrit-Project: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 24
                              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                              Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                              Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                              Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                              Gerrit-CC: Russ Cox <r...@golang.org>
                              Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                              Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                              Gerrit-Attention: Michael Matloob <mat...@golang.org>
                              Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Comment-Date: Thu, 05 Sep 2024 19:01:50 +0000
                              unsatisfied_requirement
                              open
                              diffy

                              Xin Zhang (Gerrit)

                              unread,
                              Sep 5, 2024, 3:02:47 PM9/5/24
                              to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Xin Zhang added 1 comment

                              Commit Message
                              Line 7, Patchset 21:Internal/load: add more details for import cycle not allowed error
                              Michael Matloob . resolved

                              "cmd/go/internal/load" or "cmd/go"

                              You may have to shorten the rest of the message to get everything to fit.

                              Xin Zhang

                              Thanks for pointing it out!
                              The new title and summary are :
                              cmd/go: add file names for cyclic import error

                              For some reason, I could not update the commit info.
                              When click save:

                              An error occurred
                              Error 403: modifying commit message not permitted

                              Endpoint: /changes/*~*/message

                              Michael Matloob

                              Hi, I am not too familiar with the Github workflow but I believe the first line is taken from the title of the github pull request and the rest are taken from the first comment. Could you try editing those?

                              Xin Zhang

                              Hi Michael, thanks for the suggestion! I edited on github, hope CL will sync up with the github change.

                              Xin Zhang

                              Cool! It did update!

                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: comment
                              Gerrit-Project: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 25
                              Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                              Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                              Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                              Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                              Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                              Gerrit-CC: Russ Cox <r...@golang.org>
                              Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                              Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                              Gerrit-Attention: Michael Matloob <mat...@golang.org>
                              Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                              Gerrit-Comment-Date: Thu, 05 Sep 2024 19:02:41 +0000
                              unsatisfied_requirement
                              open
                              diffy

                              Gerrit Bot (Gerrit)

                              unread,
                              Sep 7, 2024, 2:21:40 AM9/7/24
                              to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Gerrit Bot uploaded new patchset

                              Gerrit Bot uploaded patch set #26 to this change.
                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 26
                              unsatisfied_requirement
                              open
                              diffy

                              Gerrit Bot (Gerrit)

                              unread,
                              Sep 7, 2024, 1:02:14 PM9/7/24
                              to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Gerrit Bot uploaded new patchset

                              Gerrit Bot uploaded patch set #27 to this change.
                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 27
                              unsatisfied_requirement
                              open
                              diffy

                              Gerrit Bot (Gerrit)

                              unread,
                              Sep 7, 2024, 1:09:28 PM9/7/24
                              to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Gerrit Bot uploaded new patchset

                              Gerrit Bot uploaded patch set #28 to this change.
                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: go
                              Gerrit-Branch: master
                              Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                              Gerrit-Change-Number: 597035
                              Gerrit-PatchSet: 28
                              unsatisfied_requirement
                              open
                              diffy

                              Xin Zhang (Gerrit)

                              unread,
                              Sep 7, 2024, 1:11:13 PM9/7/24
                              to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, qiu laidongfeng2, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                              Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                              Xin Zhang added 6 comments

                              Patchset-level comments
                              File-level comment, Patchset 26:
                              Xin Zhang . resolved

                              Hi Michael, addressed all the comments, when you have time, the CL is ready for a second look.

                              File src/cmd/go/internal/load/pkg.go
                              Line 461, Patchset 21: ImportStack []string // shortest path from package named on command line to this one

                              ImportStackWithPos []string // shortest path from package named on command line to this one with position
                              Pos string // position of error
                              Michael Matloob . resolved

                              I think we should have a single field of type ImportStack ([]*ImportInfo). Then we can move all the formatting to be done by PackageError.Error (or a function that it calls)

                              MarshalJSON would have to call Copy itself. (though I think we should change the name. see below)

                              Xin Zhang

                              Done

                              Line 507, Patchset 21: ImportStackWithPos []string
                              Michael Matloob . resolved

                              I don't think we should include ImportStackWithPos in the JSON output unless we're sure that we have a usage. (I also think that if we want to marshal the positions of the import stack it should be in a more structured format)

                              Xin Zhang

                              Done, yes, introduced position inside importInfo struct.

                              Line 571, Patchset 21:type ImportInfo struct {
                              Michael Matloob . resolved

                              I think we should probably unexport this. It's mostly an internal implementation detail. I think the reason it currently needs to be exported is so we can pass a path and pos in to Push in internal/work/action.go. But I think we can just have push take (string, []token.Position) as arguments and construct the import info itself.

                              Xin Zhang

                              Got it. I changed to push *importInfo, which has path and *token.Position, since we only need one position if it has. Please correct me if I am wrong.

                              Line 573, Patchset 21: Pos []token.Position
                              Michael Matloob . resolved

                              Could we use a token.Position rather than a slice? If the input []token.Position has at least one element we can use pos[0], and otherwise we can just use an empty token.Position{}.

                              Then instead of checking the length of this field to determine whether there is a position to print, we can just call IsValid() on the position. (It will return false for empty positions)

                              Xin Zhang

                              Done, yes, agreed, we only need one. Changed to use *token.Position (use pointer for checking if it is nil) instead of []token.Position

                              Line 589, Patchset 21:func (s *ImportStack) Copy() []string {
                              Michael Matloob . resolved

                              I think we should keep the previous version of Copy, but also add a new function with a different name that does what this function does so we can extract the set of packages for marshaling the JSON.

                              Xin Zhang

                              Done, yes, added, so now there are three methods:
                              Copy(), CopyPkgs(), CopyPkgsWithPos()

                              Open in Gerrit

                              Related details

                              Attention is currently required from:
                              • Michael Matloob
                              • Sam Thanawalla
                              • qiu laidongfeng2
                              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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 26
                                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                Gerrit-CC: Russ Cox <r...@golang.org>
                                Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                Gerrit-CC: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Attention: Michael Matloob <mat...@golang.org>
                                Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-Comment-Date: Sat, 07 Sep 2024 17:11:07 +0000
                                Gerrit-HasComments: Yes
                                Gerrit-Has-Labels: No
                                Comment-In-Reply-To: Michael Matloob <mat...@golang.org>
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                qiu laidongfeng2 (Gerrit)

                                unread,
                                Sep 7, 2024, 9:23:28 PM9/7/24
                                to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                                qiu laidongfeng2 voted Commit-Queue+1

                                Commit-Queue+1
                                Open in Gerrit

                                Related details

                                Attention is currently required from:
                                • Michael Matloob
                                • Sam Thanawalla
                                • qiu laidongfeng2
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 28
                                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                Gerrit-CC: Russ Cox <r...@golang.org>
                                Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Attention: Michael Matloob <mat...@golang.org>
                                Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-Comment-Date: Sun, 08 Sep 2024 01:23:20 +0000
                                Gerrit-HasComments: No
                                Gerrit-Has-Labels: Yes
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                Xin Zhang (Gerrit)

                                unread,
                                Sep 7, 2024, 9:35:39 PM9/7/24
                                to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                                Xin Zhang added 1 comment

                                Patchset-level comments
                                File-level comment, Patchset 28 (Latest):
                                Xin Zhang . resolved

                                Hi Qiu Laidongfeng, thanks for triggering the trybot-pass! I will look into the errors.

                                Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-Attention: Michael Matloob <mat...@golang.org>
                                Gerrit-Comment-Date: Sun, 08 Sep 2024 01:35:33 +0000
                                Gerrit-HasComments: Yes
                                Gerrit-Has-Labels: No
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                Gerrit Bot (Gerrit)

                                unread,
                                Sep 10, 2024, 9:11:15 PM9/10/24
                                to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                                Gerrit Bot uploaded new patchset

                                Gerrit Bot uploaded patch set #29 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:
                                • Michael Matloob
                                • Sam Thanawalla
                                • qiu laidongfeng2
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 29
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                Xin Zhang (Gerrit)

                                unread,
                                Sep 10, 2024, 9:15:19 PM9/10/24
                                to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                                Xin Zhang added 1 comment

                                Patchset-level comments
                                File-level comment, Patchset 29 (Latest):
                                Xin Zhang . resolved

                                Hi Michael and Qiu Laidongfeng, I fixed the error from tests. When you have time, could you help to trigger the TryBots-Pass? Thanks!

                                Open in Gerrit

                                Related details

                                Attention is currently required from:
                                • Michael Matloob
                                • Sam Thanawalla
                                • qiu laidongfeng2
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 29
                                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                Gerrit-CC: Russ Cox <r...@golang.org>
                                Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-Attention: Michael Matloob <mat...@golang.org>
                                Gerrit-Comment-Date: Wed, 11 Sep 2024 01:15:13 +0000
                                Gerrit-HasComments: Yes
                                Gerrit-Has-Labels: No
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                Gerrit Bot (Gerrit)

                                unread,
                                Sep 10, 2024, 11:46:51 PM9/10/24
                                to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                                Gerrit Bot uploaded new patchset

                                Gerrit Bot uploaded patch set #30 to this change.
                                Open in Gerrit

                                Related details

                                Attention is currently required from:
                                • Michael Matloob
                                • Sam Thanawalla
                                • qiu laidongfeng2
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 30
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                Gopher Robot (Gerrit)

                                unread,
                                Sep 10, 2024, 11:48:17 PM9/10/24
                                to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Michael Matloob, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                                Message from Gopher Robot

                                Congratulations on opening your first change. Thank you for your contribution!

                                Next steps:
                                A maintainer will review your change and provide feedback. See
                                https://go.dev/doc/contribute#review for more info and tips to get your
                                patch through code review.

                                Most changes in the Go project go through a few rounds of revision. This can be
                                surprising to people new to the project. The careful, iterative review process
                                is our way of helping mentor contributors and ensuring that their contributions
                                have a lasting impact.

                                During May-July and Nov-Jan the Go project is in a code freeze, during which
                                little code gets reviewed or merged. If a reviewer responds with a comment like
                                R=go1.11 or adds a tag like "wait-release", it means that this CL will be
                                reviewed as part of the next development cycle. See https://go.dev/s/release
                                for more details.

                                Open in Gerrit

                                Related details

                                Attention is currently required from:
                                • Michael Matloob
                                • Sam Thanawalla
                                • qiu laidongfeng2
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 30
                                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                Gerrit-CC: Russ Cox <r...@golang.org>
                                Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-Attention: Michael Matloob <mat...@golang.org>
                                Gerrit-Comment-Date: Wed, 11 Sep 2024 03:48:09 +0000
                                Gerrit-HasComments: No
                                Gerrit-Has-Labels: No
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                qiu laidongfeng2 (Gerrit)

                                unread,
                                Sep 11, 2024, 3:43:57 AM9/11/24
                                to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob and Sam Thanawalla

                                qiu laidongfeng2 voted Commit-Queue+1

                                Commit-Queue+1
                                Open in Gerrit

                                Related details

                                Attention is currently required from:
                                • Michael Matloob
                                • Sam Thanawalla
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 30
                                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                Gerrit-CC: Russ Cox <r...@golang.org>
                                Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Attention: Michael Matloob <mat...@golang.org>
                                Gerrit-Comment-Date: Wed, 11 Sep 2024 07:43:51 +0000
                                Gerrit-HasComments: No
                                Gerrit-Has-Labels: Yes
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                Gerrit Bot (Gerrit)

                                unread,
                                Sep 11, 2024, 8:45:16 PM9/11/24
                                to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                                Gerrit Bot uploaded new patchset

                                Gerrit Bot uploaded patch set #31 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:
                                • Michael Matloob
                                • Sam Thanawalla
                                • qiu laidongfeng2
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 31
                                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                Gerrit-CC: Russ Cox <r...@golang.org>
                                Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                Gerrit Bot (Gerrit)

                                unread,
                                Sep 12, 2024, 1:53:15 AM9/12/24
                                to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                                Gerrit Bot uploaded new patchset

                                Gerrit Bot uploaded patch set #32 to this change.
                                Open in Gerrit

                                Related details

                                Attention is currently required from:
                                • Michael Matloob
                                • Sam Thanawalla
                                • qiu laidongfeng2
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 32
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                Xin Zhang (Gerrit)

                                unread,
                                Sep 12, 2024, 1:59:22 AM9/12/24
                                to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob, Sam Thanawalla and qiu laidongfeng2

                                Xin Zhang added 1 comment

                                Patchset-level comments
                                File-level comment, Patchset 30:
                                Xin Zhang . resolved

                                Hi Michael and Qiu Laidongfeng, I fixed some errors from tests. When you have time, could you help to trigger the TryBots-Pass? Thanks!

                                Open in Gerrit

                                Related details

                                Attention is currently required from:
                                • Michael Matloob
                                • Sam Thanawalla
                                • qiu laidongfeng2
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 30
                                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                Gerrit-CC: Russ Cox <r...@golang.org>
                                Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Attention: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-Attention: Michael Matloob <mat...@golang.org>
                                Gerrit-Comment-Date: Thu, 12 Sep 2024 05:59:16 +0000
                                Gerrit-HasComments: Yes
                                Gerrit-Has-Labels: No
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                qiu laidongfeng2 (Gerrit)

                                unread,
                                Sep 12, 2024, 8:39:56 AM9/12/24
                                to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob and Sam Thanawalla

                                qiu laidongfeng2 voted Commit-Queue+1

                                Commit-Queue+1
                                Open in Gerrit

                                Related details

                                Attention is currently required from:
                                • Michael Matloob
                                • Sam Thanawalla
                                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: go
                                Gerrit-Branch: master
                                Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                Gerrit-Change-Number: 597035
                                Gerrit-PatchSet: 32
                                Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                Gerrit-CC: Russ Cox <r...@golang.org>
                                Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                Gerrit-Attention: Michael Matloob <mat...@golang.org>
                                Gerrit-Comment-Date: Thu, 12 Sep 2024 12:39:48 +0000
                                Gerrit-HasComments: No
                                Gerrit-Has-Labels: Yes
                                unsatisfied_requirement
                                satisfied_requirement
                                open
                                diffy

                                Xin Zhang (Gerrit)

                                unread,
                                Sep 13, 2024, 3:12:30 AM9/13/24
                                to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                                Attention needed from Michael Matloob and Sam Thanawalla

                                Xin Zhang added 1 comment

                                Patchset-level comments
                                File-level comment, Patchset 32 (Latest):
                                Xin Zhang . resolved

                                Thanks Qiu Laidongfeng for triggering the TryBot-Pass!

                                Open in Gerrit

                                Related details

                                Attention is currently required from:
                                • Michael Matloob
                                • Sam Thanawalla
                                Submit Requirements:
                                  • requirement is not satisfiedCode-Review
                                  • requirement 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: go
                                  Gerrit-Branch: master
                                  Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                  Gerrit-Change-Number: 597035
                                  Gerrit-PatchSet: 32
                                  Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                  Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                  Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                  Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                  Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                  Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                  Gerrit-CC: Russ Cox <r...@golang.org>
                                  Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                  Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                  Gerrit-Attention: Michael Matloob <mat...@golang.org>
                                  Gerrit-Comment-Date: Fri, 13 Sep 2024 07:12:24 +0000
                                  Gerrit-HasComments: Yes
                                  Gerrit-Has-Labels: No
                                  unsatisfied_requirement
                                  satisfied_requirement
                                  open
                                  diffy

                                  Xin Zhang (Gerrit)

                                  unread,
                                  Sep 13, 2024, 3:13:50 AM9/13/24
                                  to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                                  Attention needed from Michael Matloob and Sam Thanawalla

                                  Xin Zhang added 1 comment

                                  Patchset-level comments
                                  Xin Zhang . resolved

                                  Hi Michael, the tests passed, when you have time, could you take a second look?

                                  Gerrit-Comment-Date: Fri, 13 Sep 2024 07:13:45 +0000
                                  Gerrit-HasComments: Yes
                                  Gerrit-Has-Labels: No
                                  unsatisfied_requirement
                                  satisfied_requirement
                                  open
                                  diffy

                                  Xin Zhang (Gerrit)

                                  unread,
                                  Sep 25, 2024, 11:15:17 AM9/25/24
                                  to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                                  Attention needed from Michael Matloob and Sam Thanawalla

                                  Xin Zhang added 1 comment

                                  Patchset-level comments
                                  Xin Zhang . resolved

                                  Hi Michael, when you have time, could you please review the PR, thank you!

                                  Gerrit-Comment-Date: Wed, 25 Sep 2024 15:15:09 +0000
                                  Gerrit-HasComments: Yes
                                  Gerrit-Has-Labels: No
                                  unsatisfied_requirement
                                  satisfied_requirement
                                  open
                                  diffy

                                  Michael Matloob (Gerrit)

                                  unread,
                                  Sep 26, 2024, 4:42:07 PM9/26/24
                                  to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, Xin Zhang, golang-co...@googlegroups.com
                                  Attention needed from Sam Thanawalla and Xin Zhang

                                  Michael Matloob added 3 comments

                                  Commit Message
                                  Line 11, Patchset 32 (Latest):Fixes [#66078](https://go.dev/issue/66078)
                                  Michael Matloob . unresolved

                                  `Fixes #66078`

                                  move this after line 18/before line 20

                                  File src/cmd/go/internal/load/pkg.go
                                  Line 589, Patchset 21:func (s *ImportStack) Copy() []string {
                                  Michael Matloob . unresolved

                                  I think we should keep the previous version of Copy, but also add a new function with a different name that does what this function does so we can extract the set of packages for marshaling the JSON.

                                  Xin Zhang

                                  Done, yes, added, so now there are three methods:
                                  Copy(), CopyPkgs(), CopyPkgsWithPos()

                                  Michael Matloob

                                  I think maybe we should just call these `Pkgs` and `PkgsWithPos`

                                  Line 591, Patchset 32 (Latest): ppos = &token.Position{
                                  Michael Matloob . unresolved

                                  Why are we making copies of the `token.Position`s? Do we modify them later?

                                  (Same question for the other places we make copies of them)

                                  Open in Gerrit

                                  Related details

                                  Attention is currently required from:
                                  • Sam Thanawalla
                                  • Xin Zhang
                                  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: go
                                    Gerrit-Branch: master
                                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                    Gerrit-Change-Number: 597035
                                    Gerrit-PatchSet: 32
                                    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                    Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                    Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                    Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                    Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                    Gerrit-CC: Russ Cox <r...@golang.org>
                                    Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                    Gerrit-Attention: Xin Zhang <xzhang...@gmail.com>
                                    Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                    Gerrit-Comment-Date: Thu, 26 Sep 2024 20:42:01 +0000
                                    Gerrit-HasComments: Yes
                                    Gerrit-Has-Labels: No
                                    unsatisfied_requirement
                                    satisfied_requirement
                                    open
                                    diffy

                                    Xin Zhang (Gerrit)

                                    unread,
                                    Sep 27, 2024, 2:52:28 AM9/27/24
                                    to Gerrit Bot, goph...@pubsubhelper.golang.org, Go LUCI, qiu laidongfeng2, Michael Matloob, Gopher Robot, Sam Thanawalla, Russ Cox, Ian Lance Taylor, golang-co...@googlegroups.com
                                    Attention needed from Sam Thanawalla

                                    Xin Zhang added 1 comment

                                    Patchset-level comments
                                    Xin Zhang . resolved

                                    Hi Michael, thanks for the comments! Will address them.

                                    Open in Gerrit

                                    Related details

                                    Attention is currently required from:
                                    • Sam Thanawalla
                                    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: go
                                    Gerrit-Branch: master
                                    Gerrit-Change-Id: I162cd348004bf4e4774b195f8355151c1bf0a652
                                    Gerrit-Change-Number: 597035
                                    Gerrit-PatchSet: 32
                                    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
                                    Gerrit-Reviewer: Gopher Robot <go...@golang.org>
                                    Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
                                    Gerrit-Reviewer: Sam Thanawalla <samtha...@google.com>
                                    Gerrit-Reviewer: qiu laidongfeng2 <26454...@qq.com>
                                    Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
                                    Gerrit-CC: Russ Cox <r...@golang.org>
                                    Gerrit-CC: Xin Zhang <xzhang...@gmail.com>
                                    Gerrit-Attention: Sam Thanawalla <samtha...@google.com>
                                    Gerrit-Comment-Date: Fri, 27 Sep 2024 06:52:22 +0000
                                    Gerrit-HasComments: Yes
                                    Gerrit-Has-Labels: No
                                    unsatisfied_requirement
                                    satisfied_requirement
                                    open
                                    diffy
                                    It is loading more messages.
                                    0 new messages