Repository navigation
build(deps): Bump golang.org/x/time from 0.15.0 to 0.16.0 - #1445
Conversation
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]>
🔒 Security Audit — Dependency BumpPackage: 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 repoThe Exactly one module version changed. 2. Upstream diff —
|
| 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.gointernal/consensus/reactor.go,internal/consensus/verification_budget.gointernal/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
Bumps golang.org/x/time from 0.15.0 to 0.16.0.
Commits
fb013b3all: upgrade go directive to at least 1.26.0 [generated]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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)