[pkgsite] pkgsite-cli: fetch module details concurrently in module command

2 views
Skip to first unread message

Hyang-Ah Hana Kim (Gerrit)

unread,
Apr 21, 2026, 10:21:06 PM (7 days ago) Apr 21
to goph...@pubsubhelper.golang.org, Hyang-Ah Hana Kim, golang-co...@googlegroups.com

Hyang-Ah Hana Kim has uploaded the change for review

Commit message

pkgsite-cli: fetch module details concurrently in module command

For golang/go#78690
Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a

Change diff

diff --git a/cmd/internal/pkgsite-cli/main_test.go b/cmd/internal/pkgsite-cli/main_test.go
index 0f75b50..ab82473 100644
--- a/cmd/internal/pkgsite-cli/main_test.go
+++ b/cmd/internal/pkgsite-cli/main_test.go
@@ -284,7 +284,7 @@
}
for _, imp := range f.Imports {
path := strings.Trim(imp.Path.Value, `"`)
- if strings.Contains(path, ".") && !strings.HasPrefix(path, "golang.org/x/pkgsite") {
+ if strings.Contains(path, ".") && !strings.HasPrefix(path, "golang.org/x/pkgsite") && path != "golang.org/x/sync/errgroup" {
t.Errorf("%s imports third-party package %q", e.Name(), path)
}
}
diff --git a/cmd/internal/pkgsite-cli/module.go b/cmd/internal/pkgsite-cli/module.go
index dd8ce55..1c7f2b8 100644
--- a/cmd/internal/pkgsite-cli/module.go
+++ b/cmd/internal/pkgsite-cli/module.go
@@ -11,6 +11,7 @@
"time"

"golang.org/x/pkgsite/cmd/internal/pkgsite-cli/client"
+ "golang.org/x/sync/errgroup"
)

func runModule(fs *flag.FlagSet, m *moduleFlags, stdout, stderr io.Writer) int {
@@ -33,38 +34,53 @@
}
result := moduleResult{Module: mod}

- // TODO: run concurrently ?
+ var (
+ vers *client.PaginatedResponse[client.VersionResponse]
+ vulns *client.PaginatedResponse[client.Vulnerability]
+ pkgs *client.PaginatedResponse[client.ModulePackageResponse]
+ )
+
+ g, gctx := errgroup.WithContext(ctx)
+
if m.versions {
- vers, err := c.GetVersions(ctx, path, client.PaginationOptions{
- Limit: m.effectiveLimit(),
- Token: m.token,
+ g.Go(func() error {
+ var err error
+ vers, err = c.GetVersions(gctx, path, client.PaginationOptions{
+ Limit: m.effectiveLimit(),
+ Token: m.token,
+ })
+ return err
})
- if err != nil {
- return handleErr(stdout, stderr, err, m.jsonOut)
- }
- result.Versions = vers
}
if m.vulns {
- vulns, err := c.GetVulns(ctx, path, version, client.PaginationOptions{
- Limit: m.effectiveLimit(),
- Token: m.token,
+ g.Go(func() error {
+ var err error
+ vulns, err = c.GetVulns(gctx, path, version, client.PaginationOptions{
+ Limit: m.effectiveLimit(),
+ Token: m.token,
+ })
+ return err
})
- if err != nil {
- return handleErr(stdout, stderr, err, m.jsonOut)
- }
- result.Vulns = vulns
}
if m.packages {
- pkgs, err := c.GetPackages(ctx, path, version, client.PaginationOptions{
- Limit: m.effectiveLimit(),
- Token: m.token,
+ g.Go(func() error {
+ var err error
+ pkgs, err = c.GetPackages(gctx, path, version, client.PaginationOptions{
+ Limit: m.effectiveLimit(),
+ Token: m.token,
+ })
+ return err
})
- if err != nil {
- return handleErr(stdout, stderr, err, m.jsonOut)
- }
- result.Packages = pkgs
}

+ if err := g.Wait(); err != nil {
+ return handleErr(stdout, stderr, err, m.jsonOut)
+ }
+
+ result.Versions = vers
+ result.Vulns = vulns
+ result.Packages = pkgs
+
if m.jsonOut {
return writeJSON(stdout, stderr, result)
}

Change information

Files:
  • M cmd/internal/pkgsite-cli/main_test.go
  • M cmd/internal/pkgsite-cli/module.go
Change size: M
Delta: 2 files changed, 39 insertions(+), 23 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
  • requirement is not satisfiedkokoro-CI-Passes
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
Gerrit-Change-Number: 769683
Gerrit-PatchSet: 1
Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

kokoro (Gerrit)

unread,
Apr 21, 2026, 10:33:43 PM (7 days ago) Apr 21
to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim

kokoro voted kokoro-CI-1

Kokoro presubmit build finished with status: FAILURE
Logs at: https://source.cloud.google.com/results/invocations/c7c8be3f-fd08-480f-ab8d-e130db55b971

kokoro-CI-1
Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
  • requirement is not satisfiedkokoro-CI-Passes
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
Gerrit-Change-Number: 769683
Gerrit-PatchSet: 1
Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: kokoro <noreply...@google.com>
Gerrit-CC: kokoro <noreply...@google.com>
Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Comment-Date: Wed, 22 Apr 2026 02:33:40 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

kokoro (Gerrit)

unread,
Apr 27, 2026, 5:24:05 PM (2 days ago) Apr 27
to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim

kokoro voted kokoro-CI-1

Kokoro presubmit build finished with status: FAILURE

Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
  • requirement is not satisfiedkokoro-CI-Passes
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
Gerrit-Change-Number: 769683
Gerrit-PatchSet: 2
Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-CC: kokoro <noreply...@google.com>
Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Comment-Date: Mon, 27 Apr 2026 21:24:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Hyang-Ah Hana Kim (Gerrit)

unread,
Apr 27, 2026, 5:32:58 PM (2 days ago) Apr 27
to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim

Hyang-Ah Hana Kim uploaded new patchset

Hyang-Ah Hana Kim uploaded patch set #3 to this change.
Following approvals got outdated and were removed:
  • kokoro-CI-Passes: kokoro-CI-1 by kokoro
Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
  • requirement is not satisfiedkokoro-CI-Passes
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newpatchset
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
Gerrit-Change-Number: 769683
Gerrit-PatchSet: 3
unsatisfied_requirement
satisfied_requirement
open
diffy

kokoro (Gerrit)

unread,
Apr 27, 2026, 5:43:15 PM (2 days ago) Apr 27
to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim

kokoro voted kokoro-CI-1

Kokoro presubmit build finished with status: FAILURE

Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
  • requirement is not satisfiedkokoro-CI-Passes
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
Gerrit-Change-Number: 769683
Gerrit-PatchSet: 3
Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: kokoro <noreply...@google.com>
Gerrit-CC: kokoro <noreply...@google.com>
Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Comment-Date: Mon, 27 Apr 2026 21:43:10 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Hyang-Ah Hana Kim (Gerrit)

unread,
Apr 27, 2026, 6:32:34 PM (2 days ago) Apr 27
to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim

Hyang-Ah Hana Kim uploaded new patchset

Hyang-Ah Hana Kim uploaded patch set #4 to this change.
Following approvals got outdated and were removed:
Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
  • requirement is not satisfiedkokoro-CI-Passes
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newpatchset
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
Gerrit-Change-Number: 769683
Gerrit-PatchSet: 4
unsatisfied_requirement
satisfied_requirement
open
diffy

kokoro (Gerrit)

unread,
Apr 27, 2026, 6:57:24 PM (2 days ago) Apr 27
to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim

kokoro voted kokoro-CI+1

Kokoro presubmit build finished with status: SUCCESS
Logs at: https://source.cloud.google.com/results/invocations/36b95f24-3ab7-4029-8ede-416048fc802c

kokoro-CI+1
Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
Submit Requirements:
    • requirement is not satisfiedCode-Review
    • requirement satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    • requirement satisfiedkokoro-CI-Passes
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pkgsite
    Gerrit-Branch: master
    Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
    Gerrit-Change-Number: 769683
    Gerrit-PatchSet: 4
    Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Reviewer: kokoro <noreply...@google.com>
    Gerrit-CC: kokoro <noreply...@google.com>
    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Comment-Date: Mon, 27 Apr 2026 22:57:18 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    unsatisfied_requirement
    satisfied_requirement
    open
    diffy

    Jonathan Amsterdam (Gerrit)

    unread,
    Apr 28, 2026, 12:26:46 PM (17 hours ago) Apr 28
    to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com
    Attention needed from Hyang-Ah Hana Kim

    Jonathan Amsterdam voted Code-Review+2

    Code-Review+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hyang-Ah Hana Kim
    Submit Requirements:
    • requirement satisfiedCode-Review
    • requirement satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    • requirement satisfiedkokoro-CI-Passes
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pkgsite
    Gerrit-Branch: master
    Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
    Gerrit-Change-Number: 769683
    Gerrit-PatchSet: 4
    Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
    Gerrit-Comment-Date: Tue, 28 Apr 2026 16:26:43 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Ethan Lee (Gerrit)

    unread,
    Apr 28, 2026, 4:08:38 PM (13 hours ago) Apr 28
    to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, Jonathan Amsterdam, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com
    Attention needed from Hyang-Ah Hana Kim

    Ethan Lee voted Code-Review+2

    Code-Review+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hyang-Ah Hana Kim
    Submit Requirements:
    • requirement satisfiedCode-Review
    • requirement satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    • requirement satisfiedkokoro-CI-Passes
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pkgsite
    Gerrit-Branch: master
    Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
    Gerrit-Change-Number: 769683
    Gerrit-PatchSet: 4
    Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Reviewer: Ethan Lee <etha...@google.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
    Gerrit-Reviewer: kokoro <noreply...@google.com>
    Gerrit-CC: kokoro <noreply...@google.com>
    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Comment-Date: Tue, 28 Apr 2026 20:08:35 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Hyang-Ah Hana Kim (Gerrit)

    unread,
    Apr 28, 2026, 6:24:39 PM (11 hours ago) Apr 28
    to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
    Attention needed from Hyang-Ah Hana Kim

    Hyang-Ah Hana Kim uploaded new patchset

    Hyang-Ah Hana Kim uploaded patch set #5 to this change.
    Following approvals got outdated and were removed:
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hyang-Ah Hana Kim
    Submit Requirements:
      • requirement satisfiedCode-Review
      • requirement satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      • requirement is not satisfiedkokoro-CI-Passes
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: newpatchset
      Gerrit-Project: pkgsite
      Gerrit-Branch: master
      Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
      Gerrit-Change-Number: 769683
      Gerrit-PatchSet: 5
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Hyang-Ah Hana Kim (Gerrit)

      unread,
      Apr 28, 2026, 6:25:19 PM (11 hours ago) Apr 28
      to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, Ethan Lee, Jonathan Amsterdam, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

      Hyang-Ah Hana Kim voted Auto-Submit+1

      Auto-Submit+1
      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Review
      • requirement satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      • requirement is not satisfiedTryBots-Pass
      • requirement is not satisfiedkokoro-CI-Passes
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pkgsite
      Gerrit-Branch: master
      Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
      Gerrit-Change-Number: 769683
      Gerrit-PatchSet: 5
      Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
      Gerrit-Reviewer: Ethan Lee <etha...@google.com>
      Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
      Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
      Gerrit-Reviewer: kokoro <noreply...@google.com>
      Gerrit-CC: kokoro <noreply...@google.com>
      Gerrit-Comment-Date: Tue, 28 Apr 2026 22:25:17 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      kokoro (Gerrit)

      unread,
      Apr 28, 2026, 6:50:53 PM (10 hours ago) Apr 28
      to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Ethan Lee, Jonathan Amsterdam, golang-co...@googlegroups.com
      Attention needed from Hyang-Ah Hana Kim

      kokoro voted kokoro-CI+1

      Kokoro presubmit build finished with status: SUCCESS

      Attention is currently required from:
      • Hyang-Ah Hana Kim
      Submit Requirements:
        • requirement satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement satisfiedReview-Enforcement
        • requirement satisfiedTryBots-Pass
        • requirement satisfiedkokoro-CI-Passes
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: pkgsite
        Gerrit-Branch: master
        Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
        Gerrit-Change-Number: 769683
        Gerrit-PatchSet: 5
        Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Reviewer: Ethan Lee <etha...@google.com>
        Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
        Gerrit-Reviewer: kokoro <noreply...@google.com>
        Gerrit-CC: kokoro <noreply...@google.com>
        Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Comment-Date: Tue, 28 Apr 2026 22:50:49 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Gopher Robot (Gerrit)

        unread,
        Apr 28, 2026, 6:53:04 PM (10 hours ago) Apr 28
        to Hyang-Ah Hana Kim, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, Ethan Lee, Jonathan Amsterdam, golang-co...@googlegroups.com

        Gopher Robot submitted the change

        Unreviewed changes

        4 is the latest approved patch-set.
        No files were changed between the latest approved patch-set and the submitted one.

        Change information

        Commit message:
        cmd/internal/pkgsite-cli: fetch module details concurrently in module command

        For golang/go#78690
        Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
        Reviewed-by: Jonathan Amsterdam <j...@google.com>
        kokoro-CI: kokoro <noreply...@google.com>
        Auto-Submit: Hyang-Ah Hana Kim <hya...@gmail.com>
        Reviewed-by: Ethan Lee <etha...@google.com>
        Files:
        • M cmd/internal/pkgsite-cli/main_test.go
        • M cmd/internal/pkgsite-cli/module.go
        Change size: M
        Delta: 2 files changed, 40 insertions(+), 26 deletions(-)
        Branch: refs/heads/master
        Submit Requirements:
        Open in Gerrit
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: merged
        Gerrit-Project: pkgsite
        Gerrit-Branch: master
        Gerrit-Change-Id: If381903054da1352ff55aaf141ff6ad8c492b69a
        Gerrit-Change-Number: 769683
        Gerrit-PatchSet: 6
        Gerrit-Owner: Hyang-Ah Hana Kim <hya...@gmail.com>
        Gerrit-Reviewer: Ethan Lee <etha...@google.com>
        Gerrit-Reviewer: Gopher Robot <go...@golang.org>
        open
        diffy
        satisfied_requirement
        Reply all
        Reply to author
        Forward
        0 new messages