Skip to content

bump: golang.org/x/net v0.60.0 + go 1.27.2 for v2.6.3-alauda-21 - #72

Merged
kycheng merged 3 commits into
alauda-v2.6.2from
chore/DEVOPS-44746-go1.27.2
Oct 12, 2026
Merged

kycheng merged 3 commits into
alauda-v2.6.2from
chore/DEVOPS-44746-go1.27.2

Conversation

@kycheng

@kycheng kycheng commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

Bumps golang.org/x/net → v0.60.0 (go get + go mod tidy) and the go directive to 1.27.2, so release CI (setup-go go-version-file) ships the Go stdlib fixes.

trivy 2026-10 flags the binary in gitlab-chart's gitlab-binary image with 18 fixable CVEs: 13 stdlib (fixed in 1.27.2, e.g. CVE-2026-78667, CVE-2026-97031, CVE-2026-94439) and 5 golang.org/x/net (fixed in v0.60.0, e.g. CVE-2026-78669, CVE-2026-78663).

Verified locally: linux/amd64 build embeds go1.27.2 + x/net v0.60.0; trivy rootfs --scanners vuln --ignore-unfixed → 0.

Requesting cut of v2.6.3-alauda-21 after merge (DEVOPS-44746).

🤖 Generated with Claude Code

kycheng and others added 3 commits October 12, 2026 13:58
Fixes the Go stdlib CVEs fixed in 1.27.2 (CVE-2026-78667, CVE-2026-78669,
CVE-2026-97031, CVE-2026-56866, CVE-2026-94439, CVE-2026-94448, ...) and the
golang.org/x/net http2 CVEs fixed in v0.60.0 (CVE-2026-78669, CVE-2026-78663,
CVE-2026-97032, ...) that trivy flags on the shipped binary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Workflows derive GOVERSION from the Dockerfile FROM line; with go.mod at
1.27.2 they failed with "go.mod requires go >= 1.27.2 (running go 1.27.1)".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- golangci-lint: prebuilt v2.11 binaries are built with Go 1.26 and refuse
  a Go 1.27 module; build v2.14.0 from source (install-mode: goinstall).
  Drop the deprecated no-op net.Dialer.DualStack it flags (SA1019).
- verify_blob_test: timestamp-authority v2 verifies the TSA chain at the
  timestamp time and its mock cert is only valid from now-3m, so stamping
  at now-1h failed; use upstream's -10m leaf / -1m timestamp.
- e2e: timestamp-authority v2 requires default-policy-oid and
  accepted-policy-oids; set them like its own test server does.
- validate-release: golang-cross 1.26-bullseye (Go 1.26, stale
  bullseye-security sources -> apt 404) -> 1.27-bullseye-pgo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kycheng
kycheng merged commit 17fdc0d into alauda-v2.6.2 Oct 12, 2026
17 checks passed
@kycheng
kycheng deleted the chore/DEVOPS-44746-go1.27.2 branch October 12, 2026 07:00
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