[tools] gopls/internal/telemetry: skip the telemetry test on Plan 9

3 views
Skip to first unread message

David du Colombier (Gerrit)

unread,
Jun 26, 2026, 2:08:00 PM (17 hours ago) Jun 26
to Hyang-Ah Hana Kim, Richard Miller, Robert Findley, goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim, Richard Miller and Robert Findley

David du Colombier has uploaded the change for review

David du Colombier would like Hyang-Ah Hana Kim, Richard Miller and Robert Findley to review this change.

Commit message

gopls/internal/telemetry: skip the telemetry test on Plan 9

The telemetry test relies on the counters from
golang.org/x/telemetry, which are stored in
memory-mapped files.

Plan 9 does not support mmap, so the counters are
never persisted and always read back as zero, like
on js/wasm and wasip1, which are already excluded.

Add plan9 to the build constraint.
Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba

Change diff

diff --git a/gopls/internal/telemetry/telemetry_test.go b/gopls/internal/telemetry/telemetry_test.go
index a8cf2b8..a5e7c6f 100644
--- a/gopls/internal/telemetry/telemetry_test.go
+++ b/gopls/internal/telemetry/telemetry_test.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

-//go:build !openbsd && !js && !wasip1 && !solaris && !android && !386
+//go:build !openbsd && !js && !wasip1 && !solaris && !android && !386 && !plan9

package telemetry_test

Change information

Files:
  • M gopls/internal/telemetry/telemetry_test.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
  • Richard Miller
  • Robert Findley
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
Gerrit-Change-Number: 794821
Gerrit-PatchSet: 1
Gerrit-Owner: David du Colombier <0in...@gmail.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Richard Miller <millerr...@gmail.com>
Gerrit-Reviewer: Robert Findley <rfin...@golang.org>
Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Attention: Richard Miller <millerr...@gmail.com>
Gerrit-Attention: Robert Findley <rfin...@golang.org>
unsatisfied_requirement
satisfied_requirement
open
diffy

Richard Miller (Gerrit)

unread,
Jun 26, 2026, 2:44:56 PM (16 hours ago) Jun 26
to David du Colombier, goph...@pubsubhelper.golang.org, Hyang-Ah Hana Kim, Robert Findley, golang-co...@googlegroups.com
Attention needed from David du Colombier, Hyang-Ah Hana Kim and Robert Findley

Richard Miller voted Code-Review+2

Code-Review+2
Open in Gerrit

Related details

Attention is currently required from:
  • David du Colombier
  • Hyang-Ah Hana Kim
  • Robert Findley
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
Gerrit-Change-Number: 794821
Gerrit-PatchSet: 1
Gerrit-Owner: David du Colombier <0in...@gmail.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Richard Miller <millerr...@gmail.com>
Gerrit-Reviewer: Robert Findley <rfin...@golang.org>
Gerrit-Attention: David du Colombier <0in...@gmail.com>
Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Attention: Robert Findley <rfin...@golang.org>
Gerrit-Comment-Date: Fri, 26 Jun 2026 18:44:50 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Richard Miller (Gerrit)

unread,
Jun 26, 2026, 2:45:20 PM (16 hours ago) Jun 26
to David du Colombier, goph...@pubsubhelper.golang.org, Hyang-Ah Hana Kim, Robert Findley, golang-co...@googlegroups.com
Attention needed from David du Colombier, Hyang-Ah Hana Kim and Robert Findley

Richard Miller added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Richard Miller . resolved

Looks right.

Gerrit-Comment-Date: Fri, 26 Jun 2026 18:45:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

David du Colombier (Gerrit)

unread,
Jun 26, 2026, 3:27:02 PM (15 hours ago) Jun 26
to goph...@pubsubhelper.golang.org, Richard Miller, Hyang-Ah Hana Kim, Robert Findley, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim and Robert Findley

David du Colombier voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
  • Robert Findley
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
Gerrit-Change-Number: 794821
Gerrit-PatchSet: 1
Gerrit-Owner: David du Colombier <0in...@gmail.com>
Gerrit-Reviewer: David du Colombier <0in...@gmail.com>
Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Reviewer: Richard Miller <millerr...@gmail.com>
Gerrit-Reviewer: Robert Findley <rfin...@golang.org>
Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
Gerrit-Attention: Robert Findley <rfin...@golang.org>
Gerrit-Comment-Date: Fri, 26 Jun 2026 19:26:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

David du Colombier (Gerrit)

unread,
Jun 26, 2026, 4:19:29 PM (15 hours ago) Jun 26
to goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Richard Miller, Hyang-Ah Hana Kim, Robert Findley, golang-co...@googlegroups.com
Attention needed from Hyang-Ah Hana Kim and Robert Findley

David du Colombier voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention is currently required from:
  • Hyang-Ah Hana Kim
  • Robert Findley
Submit Requirements:
    • requirement 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: tools
    Gerrit-Branch: master
    Gerrit-Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
    Gerrit-Change-Number: 794821
    Gerrit-PatchSet: 1
    Gerrit-Owner: David du Colombier <0in...@gmail.com>
    Gerrit-Reviewer: David du Colombier <0in...@gmail.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Reviewer: Richard Miller <millerr...@gmail.com>
    Gerrit-Reviewer: Robert Findley <rfin...@golang.org>
    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Attention: Robert Findley <rfin...@golang.org>
    Gerrit-Comment-Date: Fri, 26 Jun 2026 20:19:21 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dmitri Shuralyov (Gerrit)

    unread,
    Jun 26, 2026, 7:58:07 PM (11 hours ago) Jun 26
    to David du Colombier, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, golang...@luci-project-accounts.iam.gserviceaccount.com, Richard Miller, Hyang-Ah Hana Kim, Robert Findley, golang-co...@googlegroups.com
    Attention needed from Hyang-Ah Hana Kim

    Dmitri Shuralyov voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hyang-Ah Hana Kim
    Submit Requirements:
    • requirement 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: tools
    Gerrit-Branch: master
    Gerrit-Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
    Gerrit-Change-Number: 794821
    Gerrit-PatchSet: 1
    Gerrit-Owner: David du Colombier <0in...@gmail.com>
    Gerrit-Reviewer: David du Colombier <0in...@gmail.com>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
    Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Reviewer: Richard Miller <millerr...@gmail.com>
    Gerrit-Reviewer: Robert Findley <rfin...@golang.org>
    Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-Attention: Hyang-Ah Hana Kim <hya...@gmail.com>
    Gerrit-Comment-Date: Fri, 26 Jun 2026 23:58:04 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Hyang-Ah Hana Kim (Gerrit)

    unread,
    Jun 26, 2026, 8:48:19 PM (10 hours ago) Jun 26
    to David du Colombier, goph...@pubsubhelper.golang.org, Hyang-Ah Hana Kim, Dmitri Shuralyov, Dmitri Shuralyov, golang...@luci-project-accounts.iam.gserviceaccount.com, Richard Miller, Robert Findley, golang-co...@googlegroups.com
    Attention needed from David du Colombier

    Hyang-Ah Hana Kim voted Code-Review+2

    Code-Review+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • David du Colombier
    Submit Requirements:
      • requirement satisfiedCode-Review
      • requirement satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      • requirement satisfiedTryBots-Pass
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: tools
      Gerrit-Branch: master
      Gerrit-Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
      Gerrit-Change-Number: 794821
      Gerrit-PatchSet: 1
      Gerrit-Owner: David du Colombier <0in...@gmail.com>
      Gerrit-Reviewer: David du Colombier <0in...@gmail.com>
      Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
      Gerrit-Reviewer: Hyang-Ah Hana Kim <hya...@gmail.com>
      Gerrit-Reviewer: Richard Miller <millerr...@gmail.com>
      Gerrit-Reviewer: Robert Findley <rfin...@golang.org>
      Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
      Gerrit-Attention: David du Colombier <0in...@gmail.com>
      Gerrit-Comment-Date: Sat, 27 Jun 2026 00:48:16 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Gopher Robot (Gerrit)

      unread,
      Jun 26, 2026, 8:50:33 PM (10 hours ago) Jun 26
      to David du Colombier, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Hyang-Ah Hana Kim, Dmitri Shuralyov, Dmitri Shuralyov, golang...@luci-project-accounts.iam.gserviceaccount.com, Richard Miller, Robert Findley, golang-co...@googlegroups.com

      Gopher Robot submitted the change

      Change information

      Commit message:
      gopls/internal/telemetry: skip the telemetry test on Plan 9

      The telemetry test relies on the counters from
      golang.org/x/telemetry, which are stored in
      memory-mapped files.

      Plan 9 does not support mmap, so the counters are
      never persisted and always read back as zero, like
      on js/wasm and wasip1, which are already excluded.

      Add plan9 to the build constraint.
      Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
      Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
      Auto-Submit: David du Colombier <0in...@gmail.com>
      Reviewed-by: Hyang-Ah Hana Kim <hya...@gmail.com>
      Reviewed-by: Richard Miller <millerr...@gmail.com>
      Files:
      • M gopls/internal/telemetry/telemetry_test.go
      Change size: XS
      Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
      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: tools
      Gerrit-Branch: master
      Gerrit-Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
      Gerrit-Change-Number: 794821
      Gerrit-PatchSet: 2
      Gerrit-Owner: David du Colombier <0in...@gmail.com>
      Gerrit-Reviewer: David du Colombier <0in...@gmail.com>
      Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
      Gerrit-Reviewer: Gopher Robot <go...@golang.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages