Skip to content

build: upgrade golang.org/x/net to v0.57.0 - #1162

Merged
ti-chi-bot[bot] merged 1 commit into
pingcap:masterfrom
time-and-fate:260812-upgrade-x-net
Aug 13, 2026
Merged

build: upgrade golang.org/x/net to v0.57.0#1162
ti-chi-bot[bot] merged 1 commit into
pingcap:masterfrom
time-and-fate:260812-upgrade-x-net

Conversation

@time-and-fate

Copy link
Copy Markdown
Member

What problem does this PR solve?

Address security vulnerabilities in golang.org/x/net (currently pinned at v0.55.0 as an indirect dependency) by upgrading it to the latest release.

What is changed and how does it work?

Upgrade golang.org/x/net from v0.55.0 to v0.57.0 (latest). go mod tidy also lifts the matching minor bumps of the golang.org/x/* family, since x/net requires them via MVS:

Module Before After
golang.org/x/net v0.55.0 v0.57.0
golang.org/x/crypto v0.52.0 v0.54.0
golang.org/x/sys v0.45.0 v0.47.0
golang.org/x/term v0.43.0 v0.45.0
golang.org/x/text v0.39.0 v0.40.0

Only go.mod / go.sum are touched. All five modules remain // indirect (no new direct imports introduced).

Tests

  • Manual test: CGO_ENABLED=0 GOOS=linux go build ./cmd/main.go and ./reload/main.go both succeed.

Side effects

  • Breaking backward compatibility
  • Other side effects: dependency version bump only; no behavior change.

Release Notes

NONE

Upgrade golang.org/x/net from v0.55.0 to v0.57.0 (latest) to address
security vulnerabilities. go mod tidy also pulls in the matching minor
bumps of the x/* family:
- golang.org/x/crypto v0.52.0 -> v0.54.0
- golang.org/x/sys    v0.45.0 -> v0.47.0
- golang.org/x/term   v0.43.0 -> v0.45.0
- golang.org/x/text   v0.39.0 -> v0.40.0

Verified: cmd/monitoring and reload both build with CGO_ENABLED=0.
@ti-chi-bot
ti-chi-bot Bot requested a review from asddongmen August 12, 2026 08:58
@ti-chi-bot ti-chi-bot Bot added the size/M label Aug 12, 2026
@time-and-fate
time-and-fate requested review from liubog2008 and removed request for asddongmen August 13, 2026 03:36
@ti-chi-bot

ti-chi-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liubog2008

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot

ti-chi-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

[LGTM Timeline notifier]

Timeline:

  • 2026-08-13 09:32:07.941724876 +0000 UTC m=+3298113.977819932: ☑️ agreed by liubog2008.

@ti-chi-bot
ti-chi-bot Bot merged commit d307371 into pingcap:master Aug 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants