Repository navigation
build(backend): bump Go to 1.26.9 and mockery to 3.8.1 - #9208
Merged
Merged
Conversation
Update the patch-level toolchain pins with new SHA256 checksums: - Go 1.26.6 -> 1.26.9 in install-go.sh and the lake-builder image - mockery 3.7.4 -> 3.8.1 in install-mockery.sh, backend/Makefile, both backend Dockerfiles and the lake-builder image - workflow step labels follow the new versions golangci-lint stays at v2.12.2: v2.14.0 changes the SA1019 message format and flags RawDataSubTaskArgs.Params, which needs its own change. Signed-off-by: DoDiODev <DoDiDev@proton.me>
Contributor
Author
|
A correction to the description: it says golangci-lint v2.14.0 "newly flags three uses" of the deprecated This doesn't change anything in this PR. golangci-lint stays at v2.12.2 here, and the bump will come as its own PR once this one is through. |
klesh
approved these changes
Oct 14, 2026
klesh
left a comment
Contributor
There was a problem hiding this comment.
LGTM.
Thanks for your contribution.
DoDiODev
added a commit
to DoDiODev/devlake
that referenced
this pull request
Oct 14, 2026
…v2.14.0 (apache#9208, apache#9210) Signed-off-by: DoDiODev <DoDiDev@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Patch-level toolchain update for the backend: Go 1.26.6 → 1.26.9 and mockery 3.7.4 → 3.8.1, at every place that pins them.
Changes
backend/scripts/install-go.sh,devops/docker/lake-builder/Dockerfile1.26.6→1.26.9, new SHA256 for linux-amd64 / linux-arm64 (from go.dev)test.yml,test-e2e.yml(2×),golangci-lint.yml,migration-script-lint.ymlbackend/scripts/install-mockery.sh3.7.4→3.8.1, new SHA256 for Linux x86_64 / arm64 (from the release'schecksum.txt)backend/Makefile(MOCKERY_VERSION),backend/Dockerfile,backend/Dockerfile.local,devops/docker/lake-builder/Dockerfilev3.7.4→v3.8.1test.yml,golangci-lint.ymlNot changed: the
go 1.26.0directive ingo.mod, and thegolang:1.26-bookworm/devcontainers/go:1-1.26-bookwormbase images, which already track the latest 1.26 patch. Go 1.27 is left for a separate change.golangci-lint stays at v2.12.2. v2.14.0 ships a staticcheck that reports
SA1019without quoting the import path, so the kiro exclusion added in #9197 no longer matches, and it newly flags three uses of the deprecatedRawDataSubTaskArgs.Paramsfield. Both deserve their own change.Generated mocks
With mockery 3.8.1,
make mockproduces the same 67 mocks. The only difference to 3.7.4 is that the generated constructors and their cleanup now callt.Helper()when available, so assertion failures point at the test instead of the mock file.Verification
make mock,make build,make unit-testwith Go 1.26.9go mod tidyleavesgo.mod/go.sumunchangedThe
mericodev/lake-builderchange only takes effect once a newbuilder-*image is published; CI installs Go and mockery through the scripts above and therefore already tests the new versions.