[pkgsite] internal/index: Format to nanoseconds for index URL.

2 views
Skip to first unread message

Jean Barkhuysen (Gerrit)

unread,
Jul 21, 2026, 2:30:39 PMJul 21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Jean Barkhuysen has uploaded the change for review

Commit message

internal/index: Format to nanoseconds for index URL.

The golang index supports both:

- https://index.golang.org/index?since=2019-04-10T20:30:42Z&limit=3
- https://index.golang.org/index?since=2019-04-10T20:30:42.400000Z&limit=3

Since this is part of the checkpointing cursor behaviour that the worker relies
on to make progress, a higher precision means less change of missing something.

So, this change makes us use the highest precision available.

Note that since postgres only has microsecond granularity we're actually going
to be querying at microsecond granularity, but anyways, that's just a semantic
detail as far as this change is concerned. We still get higher precision.

(This change was inspired by our debugging cursor progress issues against our
internal golang-index https://github.com/netflix-skunkworks/golang-index).
Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41

Change diff

diff --git a/internal/index/index.go b/internal/index/index.go
index f331d75..33a408c 100644
--- a/internal/index/index.go
+++ b/internal/index/index.go
@@ -43,7 +43,7 @@

func (c *Client) pollURL(since time.Time, limit int) string {
values := url.Values{}
- values.Set("since", since.Format(time.RFC3339))
+ values.Set("since", since.Format(time.RFC3339Nano))
if limit > 0 {
values.Set("limit", strconv.Itoa(limit))
}

Change information

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

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
  • 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: I32d410214a104a8d694ec6edf9cba4a94c579f41
Gerrit-Change-Number: 803623
Gerrit-PatchSet: 1
Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Jean Barkhuysen (Gerrit)

unread,
Jul 21, 2026, 2:31:10 PMJul 21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Jean Barkhuysen uploaded new patchset

Jean Barkhuysen uploaded patch set #2 to this change.
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: newpatchset
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41
Gerrit-Change-Number: 803623
Gerrit-PatchSet: 2
Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Jean Barkhuysen (Gerrit)

unread,
Jul 21, 2026, 2:35:58 PMJul 21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Jean Barkhuysen uploaded new patchset

Jean Barkhuysen uploaded patch set #4 to this change.
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: newpatchset
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41
Gerrit-Change-Number: 803623
Gerrit-PatchSet: 4
Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Jean Barkhuysen (Gerrit)

unread,
Jul 21, 2026, 2:36:28 PMJul 21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Jean Barkhuysen uploaded new patchset

Jean Barkhuysen uploaded patch set #5 to this change.
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: newpatchset
Gerrit-Project: pkgsite
Gerrit-Branch: master
Gerrit-Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41
Gerrit-Change-Number: 803623
Gerrit-PatchSet: 5
Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
unsatisfied_requirement
satisfied_requirement
open
diffy

Ethan Lee (Gerrit)

unread,
Jul 21, 2026, 4:15:59 PMJul 21
to Jean Barkhuysen, goph...@pubsubhelper.golang.org, Jonathan Amsterdam, golang-co...@googlegroups.com
Attention needed from Jean Barkhuysen and Jonathan Amsterdam

Ethan Lee voted Code-Review+2

Code-Review+2
Open in Gerrit

Related details

Attention is currently required from:
  • Jean Barkhuysen
  • Jonathan Amsterdam
Submit Requirements:
  • requirement 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: I32d410214a104a8d694ec6edf9cba4a94c579f41
Gerrit-Change-Number: 803623
Gerrit-PatchSet: 6
Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
Gerrit-Reviewer: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
Gerrit-Attention: Jean Barkhuysen <jean.ba...@gmail.com>
Gerrit-Comment-Date: Tue, 21 Jul 2026 20:15:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jean Barkhuysen (Gerrit)

unread,
Jul 21, 2026, 4:54:16 PMJul 21
to goph...@pubsubhelper.golang.org, Ethan Lee, Jonathan Amsterdam, golang-co...@googlegroups.com
Attention needed from Jonathan Amsterdam

Jean Barkhuysen added 1 comment

Patchset-level comments
File-level comment, Patchset 6 (Latest):
Jean Barkhuysen . resolved

JFYI that i don't have trybots permission, so if somebody could help me kick those off I'd be appreciative! =)

Open in Gerrit

Related details

Attention is currently required from:
  • Jonathan Amsterdam
Submit Requirements:
  • requirement 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: I32d410214a104a8d694ec6edf9cba4a94c579f41
Gerrit-Change-Number: 803623
Gerrit-PatchSet: 6
Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
Gerrit-Reviewer: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
Gerrit-Comment-Date: Tue, 21 Jul 2026 20:54:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Ethan Lee (Gerrit)

unread,
Jul 21, 2026, 4:58:00 PMJul 21
to Jean Barkhuysen, goph...@pubsubhelper.golang.org, Jonathan Amsterdam, golang-co...@googlegroups.com
Attention needed from Jean Barkhuysen and Jonathan Amsterdam

Ethan Lee voted and added 1 comment

Votes added by Ethan Lee

Auto-Submit+1
Commit-Queue+1

1 comment

Patchset-level comments
Ethan Lee . resolved

kokoro rerun

Open in Gerrit

Related details

Attention is currently required from:
  • Jean Barkhuysen
  • Jonathan Amsterdam
Submit Requirements:
  • requirement 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: I32d410214a104a8d694ec6edf9cba4a94c579f41
Gerrit-Change-Number: 803623
Gerrit-PatchSet: 6
Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
Gerrit-Reviewer: Ethan Lee <etha...@google.com>
Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
Gerrit-Attention: Jean Barkhuysen <jean.ba...@gmail.com>
Gerrit-Comment-Date: Tue, 21 Jul 2026 20:57:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

kokoro (Gerrit)

unread,
Jul 21, 2026, 5:30:10 PMJul 21
to Jean Barkhuysen, goph...@pubsubhelper.golang.org, golang...@luci-project-accounts.iam.gserviceaccount.com, Ethan Lee, Jonathan Amsterdam, golang-co...@googlegroups.com
Attention needed from Jean Barkhuysen and Jonathan Amsterdam

kokoro voted kokoro-CI+1

Kokoro presubmit build finished with status: SUCCESS
Logs at: https://source.cloud.google.com/results/invocations/09b1ef4a-3374-4fc9-ad95-3718f921704d

kokoro-CI+1
Open in Gerrit

Related details

Attention is currently required from:
  • Jean Barkhuysen
  • Jonathan Amsterdam
Submit Requirements:
    • requirement 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: I32d410214a104a8d694ec6edf9cba4a94c579f41
    Gerrit-Change-Number: 803623
    Gerrit-PatchSet: 6
    Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
    Gerrit-Reviewer: Ethan Lee <etha...@google.com>
    Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
    Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
    Gerrit-Attention: Jean Barkhuysen <jean.ba...@gmail.com>
    Gerrit-Comment-Date: Tue, 21 Jul 2026 21:30:06 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sean Liao (Gerrit)

    unread,
    Jul 21, 2026, 6:06:13 PMJul 21
    to Jean Barkhuysen, goph...@pubsubhelper.golang.org, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, Ethan Lee, Jonathan Amsterdam, golang-co...@googlegroups.com
    Attention needed from Jean Barkhuysen and Jonathan Amsterdam

    Sean Liao added 1 comment

    Commit Message
    Line 7, Patchset 6 (Latest):internal/index: Format to nanoseconds for index URL.
    Sean Liao . unresolved

    ```suggestion
    internal/index: format to nanoseconds for index URL.
    ```

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Jean Barkhuysen
    • Jonathan Amsterdam
    Submit Requirements:
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    • requirement satisfiedkokoro-CI-Passes
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pkgsite
    Gerrit-Branch: master
    Gerrit-Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41
    Gerrit-Change-Number: 803623
    Gerrit-PatchSet: 6
    Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
    Gerrit-Reviewer: Ethan Lee <etha...@google.com>
    Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
    Gerrit-Reviewer: kokoro <noreply...@google.com>
    Gerrit-CC: Sean Liao <se...@liao.dev>
    Gerrit-CC: kokoro <noreply...@google.com>
    Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
    Gerrit-Attention: Jean Barkhuysen <jean.ba...@gmail.com>
    Gerrit-Comment-Date: Tue, 21 Jul 2026 22:06:06 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Jean Barkhuysen (Gerrit)

    unread,
    Jul 21, 2026, 9:34:54 PMJul 21
    to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com
    Attention needed from Ethan Lee, Jean Barkhuysen and Jonathan Amsterdam

    Jean Barkhuysen uploaded new patchset

    Jean Barkhuysen uploaded patch set #7 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:
    • Ethan Lee
    • Jean Barkhuysen
    • Jonathan Amsterdam
    Submit Requirements:
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement satisfiedTryBots-Pass
      • requirement is not satisfiedkokoro-CI-Passes
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: newpatchset
      Gerrit-Project: pkgsite
      Gerrit-Branch: master
      Gerrit-Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41
      Gerrit-Change-Number: 803623
      Gerrit-PatchSet: 7
      Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
      Gerrit-Reviewer: Ethan Lee <etha...@google.com>
      Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
      Gerrit-Reviewer: kokoro <noreply...@google.com>
      Gerrit-CC: Sean Liao <se...@liao.dev>
      Gerrit-CC: kokoro <noreply...@google.com>
      Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
      Gerrit-Attention: Ethan Lee <etha...@google.com>
      Gerrit-Attention: Jean Barkhuysen <jean.ba...@gmail.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Jean Barkhuysen (Gerrit)

      unread,
      Jul 21, 2026, 9:35:05 PMJul 21
      to goph...@pubsubhelper.golang.org, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, Ethan Lee, Jonathan Amsterdam, golang-co...@googlegroups.com
      Attention needed from Ethan Lee, Jonathan Amsterdam and Sean Liao

      Jean Barkhuysen added 1 comment

      Commit Message
      Line 7, Patchset 6:internal/index: Format to nanoseconds for index URL.
      Sean Liao . resolved

      ```suggestion
      internal/index: format to nanoseconds for index URL.
      ```

      Jean Barkhuysen

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ethan Lee
      • Jonathan Amsterdam
      • Sean Liao
      Submit Requirements:
      • requirement satisfiedCode-Review
      • requirement satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      • requirement satisfiedTryBots-Pass
      • requirement is not satisfiedkokoro-CI-Passes
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pkgsite
      Gerrit-Branch: master
      Gerrit-Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41
      Gerrit-Change-Number: 803623
      Gerrit-PatchSet: 7
      Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
      Gerrit-Reviewer: Ethan Lee <etha...@google.com>
      Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
      Gerrit-Reviewer: kokoro <noreply...@google.com>
      Gerrit-CC: Sean Liao <se...@liao.dev>
      Gerrit-CC: kokoro <noreply...@google.com>
      Gerrit-Attention: Sean Liao <se...@liao.dev>
      Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
      Gerrit-Attention: Ethan Lee <etha...@google.com>
      Gerrit-Comment-Date: Wed, 22 Jul 2026 01:35:00 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Sean Liao <se...@liao.dev>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Carlos Amedee (Gerrit)

      unread,
      Jul 22, 2026, 10:18:49 AMJul 22
      to Jean Barkhuysen, goph...@pubsubhelper.golang.org, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, Ethan Lee, Jonathan Amsterdam, golang-co...@googlegroups.com
      Attention needed from Ethan Lee, Jean Barkhuysen, Jonathan Amsterdam and Sean Liao

      Carlos Amedee voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Ethan Lee
      • Jean Barkhuysen
      • Jonathan Amsterdam
      • Sean Liao
      Submit Requirements:
        • requirement satisfiedCode-Review
        • requirement satisfiedNo-Unresolved-Comments
        • requirement satisfiedReview-Enforcement
        • requirement satisfiedTryBots-Pass
        • requirement is not satisfiedkokoro-CI-Passes
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: pkgsite
        Gerrit-Branch: master
        Gerrit-Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41
        Gerrit-Change-Number: 803623
        Gerrit-PatchSet: 7
        Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
        Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
        Gerrit-Reviewer: Ethan Lee <etha...@google.com>
        Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
        Gerrit-Reviewer: kokoro <noreply...@google.com>
        Gerrit-CC: Sean Liao <se...@liao.dev>
        Gerrit-CC: kokoro <noreply...@google.com>
        Gerrit-Attention: Sean Liao <se...@liao.dev>
        Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
        Gerrit-Attention: Ethan Lee <etha...@google.com>
        Gerrit-Attention: Jean Barkhuysen <jean.ba...@gmail.com>
        Gerrit-Comment-Date: Wed, 22 Jul 2026 14:18:44 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Ethan Lee (Gerrit)

        unread,
        Jul 22, 2026, 10:22:40 AMJul 22
        to Jean Barkhuysen, goph...@pubsubhelper.golang.org, Carlos Amedee, kokoro, golang...@luci-project-accounts.iam.gserviceaccount.com, Jonathan Amsterdam, golang-co...@googlegroups.com
        Attention needed from Jean Barkhuysen, Jonathan Amsterdam and Sean Liao

        Ethan Lee voted and added 1 comment

        Votes added by Ethan Lee

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

        1 comment

        Patchset-level comments
        Ethan Lee . resolved

        kokoro rerun

        Open in Gerrit

        Related details

        Attention is currently required from:
        Gerrit-Attention: Jean Barkhuysen <jean.ba...@gmail.com>
        Gerrit-Comment-Date: Wed, 22 Jul 2026 14:22:36 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        kokoro (Gerrit)

        unread,
        Jul 22, 2026, 10:46:49 AMJul 22
        to Jean Barkhuysen, goph...@pubsubhelper.golang.org, Ethan Lee, Carlos Amedee, golang...@luci-project-accounts.iam.gserviceaccount.com, Jonathan Amsterdam, golang-co...@googlegroups.com
        Attention needed from Jean Barkhuysen, Jonathan Amsterdam and Sean Liao

        kokoro voted kokoro-CI+1

        Kokoro presubmit build finished with status: SUCCESS

        Related details

        Attention is currently required from:
        • Jean Barkhuysen
        • Jonathan Amsterdam
        • Sean Liao
        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: I32d410214a104a8d694ec6edf9cba4a94c579f41
          Gerrit-Change-Number: 803623
          Gerrit-PatchSet: 7
          Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
          Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
          Gerrit-Reviewer: Ethan Lee <etha...@google.com>
          Gerrit-Reviewer: Jonathan Amsterdam <j...@google.com>
          Gerrit-Reviewer: kokoro <noreply...@google.com>
          Gerrit-CC: Sean Liao <se...@liao.dev>
          Gerrit-CC: kokoro <noreply...@google.com>
          Gerrit-Attention: Sean Liao <se...@liao.dev>
          Gerrit-Attention: Jonathan Amsterdam <j...@google.com>
          Gerrit-Attention: Jean Barkhuysen <jean.ba...@gmail.com>
          Gerrit-Comment-Date: Wed, 22 Jul 2026 14:46:42 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Gopher Robot (Gerrit)

          unread,
          Jul 22, 2026, 10:49:26 AMJul 22
          to Jean Barkhuysen, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, kokoro, Ethan Lee, Carlos Amedee, golang...@luci-project-accounts.iam.gserviceaccount.com, Jonathan Amsterdam, golang-co...@googlegroups.com

          Gopher Robot submitted the change

          Change information

          Commit message:
          internal/index: format to nanoseconds for index URL.

          And notably returns different results. That's because between the 42s
          mark and the 43s mark, new modules got indexed. So, at second
          granularity, you need your cursor's window size to be big enough to
          capture everything that changed in that second, or else risk missing
          modules OR not making progress beyond that second.

          The higher your precision, the less things can fit in the window,
          meaning that the cursor has a higher change to make progress / not lose
          anything.

          So, this change makes us use the highest precision available (second ->
          nano).


          Note that since postgres only has microsecond granularity we're actually
          going to be querying at microsecond granularity, but anyways, that's
          just a semantic detail as far as this change is concerned. We still get
          higher precision.

          (This change was inspired by our debugging cursor progress issues
          against our internal golang-index
          https://github.com/netflix-skunkworks/golang-index).
          Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41
          Reviewed-by: Carlos Amedee <car...@golang.org>
          kokoro-CI: kokoro <noreply...@google.com>
          Reviewed-by: Ethan Lee <etha...@google.com>
          Auto-Submit: Ethan Lee <etha...@google.com>
          Files:
          • M internal/index/index.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: pkgsite
          Gerrit-Branch: master
          Gerrit-Change-Id: I32d410214a104a8d694ec6edf9cba4a94c579f41
          Gerrit-Change-Number: 803623
          Gerrit-PatchSet: 8
          Gerrit-Owner: Jean Barkhuysen <jean.ba...@gmail.com>
          Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
          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