Skip to content

build(deps): Bump golang.org/x/time from 0.15.0 to 0.16.0 - #1445

Merged
lklimek merged 1 commit into
v1.8-devfrom
dependabot/go_modules/golang.org/x/time-0.16.0
Sep 9, 2026
Merged

lklimek merged 1 commit into
v1.8-devfrom
dependabot/go_modules/golang.org/x/time-0.16.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 8, 2026

Copy link
Copy Markdown
Contributor

Bumps golang.org/x/time from 0.15.0 to 0.16.0.

Commits
  • fb013b3 all: upgrade go directive to at least 1.26.0 [generated]
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [golang.org/x/time](https://github.com/golang/time) from 0.15.0 to 0.16.0.
- [Commits](golang/time@v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/time
  dependency-version: 0.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 8, 2026
@Claudius-Maginificent

Copy link
Copy Markdown
Collaborator

🔒 Security Audit — Dependency Bump

Package: golang.org/x/time · 0.15.0 → 0.16.0
Verdict: SAFE — no security concerns. Nothing found. Cleared for merge.

I trust no dependency bump on sight, least of all one landing in a consensus-critical node. So this was verified twice, from source and from the published artifact independently.


1. What actually changed in this repo

The go.mod diff looks alarming (+163/−172), but it is almost entirely a go mod tidy regrouping of require blocks. Comparing the semantic set of module → version pairs before and after:

350c350
< golang.org/x/time v0.15.0
---
> golang.org/x/time v0.16.0

Exactly one module version changed. go.sum is 1113 lines before and after, with 2 lines swapped. No other dependency was silently moved, added, or downgraded under cover of the reshuffle — which is precisely the trick worth checking for on a noisy tidy diff.

2. Upstream diff — v0.15.0..v0.16.0

One commit. One file. One line.

 go.mod | 2 +-
-go 1.25.0
+go 1.26.0
  • Zero .go files changed. The rate/ package — the only part of this module tenderdash consumes — is byte-identical between the two versions.
  • Commit fb013b3d305a26f5ef5350a6eaffc7c87a200383, authored/committed by Gopher Robot <[email protected]>, routine "upgrade go directive" housekeeping because Go 1.25 left the support window.
  • Landed via Gerrit CL 817940, reviewed by Dmitri Shuralyov and Carlos Amedee, LUCI TryBot green. Expected provenance for a golang.org/x repo; no unfamiliar contributor, no maintainer handoff.
  • No install/build hooks, no new network calls, no obfuscated blobs, no undocumented files. Nothing to hide in a one-line diff, and nothing was hidden.

3. Supply-chain integrity (verified independently, not assumed)

A clean changelog proves nothing if the published artifact differs from the public source. Both links in the chain were checked:

Check Result
PR go.sum h1 vs. sum.golang.org transparency log ✅ exact match (h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE=)
proxy.golang.org module zip vs. git tag v0.16.0 tree ✅ byte-identical (diff -r, no differences)
Tag v0.16.0 resolves to the reviewed commit ✅ fb013b3, one commit ahead of v0.15.0 (812b343)
go mod verify against the populated module cache ✅ all modules verified

The artifact you will actually compile is provably the source that was publicly reviewed.

Version resolution was also checked, since MVS can quietly seat a different version than the manifest suggests. Three transitive requirements exist — go-kit/kit wants v0.0.0-20211116232009, moby/moby/client wants v0.11.0, oasis-core/go wants v0.12.0 — and tenderdash's own direct requirement dominates all of them. go list -m confirms golang.org/x/time v0.16.0 is what actually gets built. As a side benefit, this bump raises the floor further above every transitive ask.

4. Known vulnerabilities

Source Result
OSV.dev (golang.org/x/time, all versions and v0.16.0) None
Go vulnerability DB (vuln.go.dev, 4378 entries) Module absent entirely
GitHub Advisory Database (Go ecosystem) None
NVD / web search None
CI govulncheck job pass

golang.org/x/time has no advisory history in any database. Note that the CI govulncheck pass was treated as corroboration only — a green scanner is not evidence on its own, which is why the source and artifact were reviewed directly.

5. Impact on tenderdash

x/time/rate backs rate limiting in six consensus- and P2P-critical paths:

  • internal/p2p/client/ratelimit.go, internal/p2p/channel.go
  • internal/consensus/reactor.go, internal/consensus/verification_budget.go
  • internal/evidence/admission.go, internal/evidence/reactor.go

Since no rate/ source changed, throttling behaviour — token-bucket accounting, the AllowN-rejects-above-burst semantics these call sites deliberately rely on, per-identity limiter freshness — is bit-for-bit unchanged. There is no behavioural blast radius here.

One subtlety worth stating explicitly, since it is the only mechanism by which a go directive bump could alter runtime behaviour: GODEBUG defaults are derived solely from the main module's go.mod. Per the Go documentation, "Only the work module's go.mod is consulted for godebug directives. Any directives in required dependency modules are ignored." Tenderdash's own directive remains go 1.27.1, untouched by this PR. A dependency's go 1.26.0 therefore changes no GODEBUG default, and no toolchain floor either — 1.27.1 already exceeds 1.26.0.

6. Non-blocking observation (not a security finding)

A parallel consistency pass turned up one piece of documentation this bump quietly outdates.

docs/CONSENSUS_DOS_PIECE2_SPEC.md:222, inside a section headed "Implementation constraints, all verified against the code", pins the version literally:

- `golang.org/x/time v0.15.0` provides `Limiter.TokensAt(t)`/`Tokens()`, so the availability test is a one-liner and needs no reservation.

The constraint itself still holds — TokensAt and Tokens both exist unchanged in v0.16.0 — only the version number is now wrong. Suggested fix is to drop the number rather than chase it on every bump, since Dependabot runs gomod weekly here and this is the sole version pin in that document:

- `golang.org/x/time` provides `Limiter.TokensAt(t)`/`Tokens()`, ...

Does not block merge. Cosmetic documentation drift, zero security relevance.


Risk Assessment

Overall rating: Safe.

A one-line go directive bump in a Google-maintained module, with the compiled artifact cryptographically tied to the reviewed source, no advisory history, no source delta in the consumed package, and 16/16 CI checks green. This is about as low-risk as a dependency update gets.

Recommendation: merge. 🍬 Security tally: nil — no findings at any severity. One LOW documentation-drift note above, non-blocking. On this occasion an empty security ledger is the correct result rather than a missed one.

🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek
lklimek merged commit ed60b6c into v1.8-dev Sep 9, 2026
16 checks passed
@lklimek
lklimek deleted the dependabot/go_modules/golang.org/x/time-0.16.0 branch September 9, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants