Skip to content

build: go 1.26.10 and golang.org/x/net v0.62.0 - #145

Merged
BaaRai merged 1 commit into
mainfrom
fix/go-1.26.10-xnet
Nov 3, 2026
Merged

BaaRai merged 1 commit into
mainfrom
fix/go-1.26.10-xnet

Conversation

@BaaRai

@BaaRai BaaRai commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Why

  • go.mod pinned go 1.26.3. Go 1.26.10 is the newest 1.26 patch release.
  • golang.org/x/net was at v0.58.0. The latest is v0.62.0.

Change

  • go 1.26.3 becomes go 1.26.10.
    • CI (ci.yml) uses go-version-file: go.mod, and actions/go-versions has 1.26.10.
    • release.yml uses go-version: "1.26", which already resolves to the latest 1.26.x, so it is not changed.
    • The Dockerfile has no golang image: it copies a prebuilt binary, so there is no tag to change.
    • Local builds with an older 1.26.x switch automatically via GOTOOLCHAIN=auto.
  • golang.org/x/net goes from v0.58.0 to v0.62.0 (go get, then go mod tidy). Tidy raised what v0.62.0 requires: x/crypto 0.55.0 to 0.58.0, x/text 0.41.0 to 0.43.0, x/sys 0.47.0 to 0.49.0, x/sync 0.22.0 to 0.24.0, x/mod 0.40.0 to 0.41.0, x/tools 0.49.0 to 0.51.0. No other module changed.

Verification

The test machine's WSL had no outbound network. I mirrored the needed module versions and the golang.org/[email protected] module from proxy.golang.org into a local file proxy and ran Go against it.

  • Integrity: the toolchain zip and .mod h1: hashes were recomputed and match sum.golang.org. All 14 new go.sum lines match sum.golang.org/lookup exactly. go mod verify: all modules verified.
  • With go1.26.10 linux/amd64:
    • go build ./... and go vet ./...: OK.
    • go mod tidy -diff: clean.
    • go test -count=1 on every package except ./server: all ok.
    • ./server: 34 tests fail, and all of them are "no database config found" (no Postgres on this machine). The same 34 fail on unmodified main. No other test fails.

Not verified:

  • The Postgres-backed tests. CI on this PR runs them.
  • The frontend and the docker image, which do not depend on this change.

Raises the go directive from 1.26.3 to 1.26.10, the newest 1.26 patch release
(CI installs it from go.mod; release.yml's "1.26" already resolves to it; the
Dockerfile ships a prebuilt binary and has no Go image). golang.org/x/net goes
from v0.58.0 to v0.62.0, the latest; go mod tidy raises x/crypto, x/text,
x/sys, x/sync, x/mod and x/tools to the versions it requires.
@BaaRai
BaaRai merged commit 77e2c5f into main Nov 3, 2026
3 checks passed
@BaaRai BaaRai mentioned this pull request Nov 4, 2026
usinfosec pushed a commit to usinfosec/ARTEX that referenced this pull request Nov 17, 2026
feat(web): 播报板每行显示节点 id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant