chore(deps): update golang docker tag to v1.27.4 #55
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/golang-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.26.10-alpine→1.27.4-alpineConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
🔎 ojo scan results
Details (15)
fs.existsSync()existence check can be bypassed on Windowsserver.fs.allowcould be served when project paths match system paths on non-Windows machineCodecov Results 📊
✅ Patch coverage is 100.00%. Project has 3214 uncovered lines.
Generated by Codecov Action
Updates
golang(-alpine), API build stage1.26.10-alpine@sha256:27f2d3b8…→1.27.4-alpine@sha256:70bd7dde…This is the only change in the diff (
deploy/docker/Dockerfile:15).go.mod,go.sum,web/package*.jsonand the workflows are untouched. The Node and distroless stages are unchanged. I did not check the new digest against Docker Hub.Changelog
golang 1.26.10 → 1.27.4. Sources: Go release history and Go 1.27 release notes.
Security fixes in the range:
gocommand,crypto/tls,html/template,net/http,net/textproto,os.crypto/x509. This is the same fix 1.26.10 already has.gocommand, the compiler, the linker andnet/http.Breaking changes and behaviour changes in Go 1.27.0:
asynctimerchan,tlsunsafeekm,tlsrsakex,tls3des,tls10server,x509keypairleaf,gotypesalias. The build now fails ifgo.modor//go:debugsets one of them to an old value.encoding/jsonis now backed by json/v2. Marshal and unmarshal behaviour is kept, but "the exact text of error messages may differ". You can opt out withGOEXPERIMENT=nojsonv2.net/http: closing an HTTP/1Response.Bodynow drains unread content automatically, up to a limit. HTTP/2 servers now follow RFC 9218 priority signals.crypto/ecdsa:PrivateKey.Signnow checks the hash length whenSignerOptsis non-nil.crypto/tls:Config.Randis deprecated.net:UnixConnreads now return a bareio.EOF.compress/flateoutput may change. This also affects gzip, zlib, zip and png.bzrVCS support is removed from thegocommand.go testnow runs thestdversionvet check. The printf vet check now flags%wused with a pointer to an error type.New features: generic methods,
crypto/mldsa(ML-DSA), ML-DSA andMLKEM1024incrypto/tls,http.Server.MaxHeaderValueCount, faster JSON unmarshal, Unicode 17.Bug-fix releases:
database/sql,encoding/json,net/http,os, and others.crypto/tls,crypto/rsa,crypto/hkdf,crypto/fips140,net, the runtime and the compiler.Transitive updates: none.
Concerns
The toolchain CI tests with is not the toolchain that builds the image.
go.mod:3declaresgo 1.26.0and has notoolchainline.setup-goandgo-version-file: go.mod(.forgejo/workflows/test.yml:24-26and:85-87). Sotest / gobuilds and tests with Go 1.26, not 1.27.4.build.yml, which runs on a schedule or by manual dispatch, not on PRs (.forgejo/workflows/build.yml:3-6,:59).main. The release binary would come from a compiler that no check has run.Behaviour changes: I found nothing that affects us.
godebugentries,//go:debugdirectives,GOEXPERIMENTsettings,tls.Config/Config.Rand,ecdsa,compress/*orUnixConnusage outsideweb/.go.modstays atgo 1.26.0, GODEBUG defaults that depend on the module's Go version keep 1.26 behaviour. Only the permanently removed settings change, and we set none of them.internal/api/handlers/import_handler.go:49,69,152andinternal/api/handlers/auth_provider_handler.go:140. Wording may change, but I found no Go test that matches exactencoding/jsonerror strings.An alternative to the minor bump. Moving to
1.26.11-alpinegets the same security fixes without a new release line, and keeps the image and CI on 1.26. If you want 1.27, bumpgo.mod(go/toolchain) too, so CI tests what ships.Checks.
security-scan: failure.test / go: pending (started). It runs Go 1.26, so it does not exercise this change.test / web: pending.test / coverage-badge: pending (blocked).ojo scan. It reports 3 HIGH, 8 MEDIUM, 2 LOW and 2 UNKNOWN findings. None of them are about the Go toolchain or base image, and none are introduced by this diff. They are existing dependency findings:
go-jose/go-jose/[email protected]: GHSA-mgcc-cww5-fp2q, GHSA-4w3g-jfj2-cw2q, GHSA-vvm8-gf78-28g4.[email protected],@vitest/[email protected],[email protected],[email protected].crewjam/[email protected]: GO-2026-6909.x/crypto/openpgp: GO-2026-5932.web/src/pages/Languages.tsx:39.These most likely explain the failed
security-scan, but I could not see the job log to confirm. They should be fixed separately. The go-jose and crewjam/saml findings matter here because both are on the auth path.Codecov reports 100% patch coverage. That doesn't tell us anything here, because the diff has no Go code.
Nothing in the PR text, diff or comments tries to steer the review.
Summary
This moves the API build stage from Go 1.26.10 to 1.27.4. That brings the 1.27.2–1.27.4 security fixes (
net/http,crypto/tls,crypto/x509,gocommand, linker and compiler) and the Go 1.27 language and library changes. I found no Balam code that relies on the changed behaviours. The real gap is that CI still builds and tests with the Go version ingo.mod(1.26), so no check has run Go 1.27.4.Merge after manual check: run
go build ./... && go vet ./... && go test ./...with Go 1.27.4, or do a localdocker build -f deploy/docker/Dockerfile .. Also decide whether to bumpgo.modto 1.27 so CI matches, or pin to1.26.11-alpineinstead. Don't merge while the test checks are still pending.⚠️ Checks still pending when this review ran: test / coverage-badge (pull_request), test / go (pull_request), test / web (pull_request).
Claude dependency-update review of
ebbf4873d2· claude-opus-5-5b1f667d49731cf7f9fdd31cf7f9fdd33a0fc25e6chore(deps): update golang docker tag to v1.27.3to chore(deps): update golang docker tag to v1.27.433a0fc25e6629f3f739dRenovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (
1.27.4-alpine). You will get a PR once a newer version is released. To ignore this dependency forever, add it to theignoreDepsarray of your Renovate config.If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
Pull request closed