This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new df76866ee build(backend): bump Go to 1.26.9 and mockery to 3.8.1 
(#9208)
df76866ee is described below

commit df76866ee2fc9895889d2e2acdbf2fc204d5fc92
Author: Dirk <[email protected]>
AuthorDate: Wed Oct 14 08:56:19 2026 +0200

    build(backend): bump Go to 1.26.9 and mockery to 3.8.1 (#9208)
    
    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 <[email protected]>
---
 .github/workflows/golangci-lint.yml         | 4 ++--
 .github/workflows/migration-script-lint.yml | 2 +-
 .github/workflows/test-e2e.yml              | 4 ++--
 .github/workflows/test.yml                  | 4 ++--
 backend/Dockerfile                          | 2 +-
 backend/Dockerfile.local                    | 2 +-
 backend/Makefile                            | 2 +-
 backend/scripts/install-go.sh               | 6 +++---
 backend/scripts/install-mockery.sh          | 6 +++---
 devops/docker/lake-builder/Dockerfile       | 6 +++---
 10 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/golangci-lint.yml 
b/.github/workflows/golangci-lint.yml
index 546c40bde..8186d183b 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -34,9 +34,9 @@ jobs:
         run: git config --global --add safe.directory $(pwd)
       - name: Install libgit2 1.5 for git2go v34
         run: backend/scripts/install-libgit2.sh
-      - name: Install Go 1.26.6
+      - name: Install Go 1.26.9
         run: backend/scripts/install-go.sh
-      - name: Install mockery 3.7.4
+      - name: Install mockery 3.8.1
         run: backend/scripts/install-mockery.sh
       - name: Cache golangci-lint
         id: cache-golangci-lint
diff --git a/.github/workflows/migration-script-lint.yml 
b/.github/workflows/migration-script-lint.yml
index e40be0558..43496d3f3 100644
--- a/.github/workflows/migration-script-lint.yml
+++ b/.github/workflows/migration-script-lint.yml
@@ -30,7 +30,7 @@ jobs:
     container: mericodev/lake-builder:latest
     steps:
       - uses: actions/checkout@v7
-      - name: Install Go 1.26.6
+      - name: Install Go 1.26.9
         run: backend/scripts/install-go.sh
       - name: migration script linting
         run: |
diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml
index 5f19e51f2..92a73ac18 100644
--- a/.github/workflows/test-e2e.yml
+++ b/.github/workflows/test-e2e.yml
@@ -52,7 +52,7 @@ jobs:
       - run: git config --global --add safe.directory $(pwd)
       - name: Install libgit2 1.5 for git2go v34
         run: backend/scripts/install-libgit2.sh
-      - name: Install Go 1.26.6
+      - name: Install Go 1.26.9
         run: backend/scripts/install-go.sh
       - name: Build Python
         run: |
@@ -96,7 +96,7 @@ jobs:
       - run: git config --global --add safe.directory $(pwd)
       - name: Install libgit2 1.5 for git2go v34
         run: backend/scripts/install-libgit2.sh
-      - name: Install Go 1.26.6
+      - name: Install Go 1.26.9
         run: backend/scripts/install-go.sh
       - name: Build Python
         run: |
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8c94eb29d..573beda1c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -49,14 +49,14 @@ jobs:
       run: git config --global --add safe.directory $(pwd)
     - name: Install libgit2 1.5 for git2go v34
       run: backend/scripts/install-libgit2.sh
-    - name: Install Go 1.26.6
+    - name: Install Go 1.26.9
       run: backend/scripts/install-go.sh
     - name: Check go.mod is tidy without generated mocks
       run: |
         cd backend
         go mod tidy
         git diff --exit-code -- go.mod go.sum
-    - name: Install mockery 3.7.4
+    - name: Install mockery 3.8.1
       run: backend/scripts/install-mockery.sh
     - name: Build Python
       run: |
diff --git a/backend/Dockerfile b/backend/Dockerfile
index 219e29c6f..10ddab491 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -49,7 +49,7 @@ RUN if [ "$(arch)" != "x86_64" ] ; then \
         apt-get install -y gcc-x86-64-linux-gnu binutils-x86-64-linux-gnu ; \
     fi
 
-RUN go install github.com/vektra/mockery/[email protected]
+RUN go install github.com/vektra/mockery/[email protected]
 RUN go install github.com/swaggo/swag/cmd/[email protected]
 
 COPY --from=debian-amd64 /usr/include /rootfs-amd64/usr/include
diff --git a/backend/Dockerfile.local b/backend/Dockerfile.local
index d4fab0a14..8e3f97905 100644
--- a/backend/Dockerfile.local
+++ b/backend/Dockerfile.local
@@ -47,7 +47,7 @@ RUN mkdir -p /tmp/build && cd /tmp/build && \
     make -j$(nproc) install && \
     ldconfig
 
-RUN go install github.com/vektra/mockery/[email protected]
+RUN go install github.com/vektra/mockery/[email protected]
 RUN go install github.com/swaggo/swag/cmd/[email protected]
 
 WORKDIR /app
diff --git a/backend/Makefile b/backend/Makefile
index 98a81a858..3e40d4c00 100644
--- a/backend/Makefile
+++ b/backend/Makefile
@@ -22,7 +22,7 @@ TAG ?= $(shell if [ -d .git ]; then git tag --points-at HEAD; 
else echo "local_b
 IMAGE_REPO ?= "apache"
 VERSION = $(TAG)@$(SHA)
 PYTHON_DIR ?= "./python"
-MOCKERY_VERSION ?= v3.7.4
+MOCKERY_VERSION ?= v3.8.1
 # Always resolve mockery through the module cache instead of relying on 
whatever
 # `mockery` happens to be on the PATH: the CI builder image ships mockery v2,
 # which cannot read the v3 YAML configuration.
diff --git a/backend/scripts/install-go.sh b/backend/scripts/install-go.sh
index d4c3c1f2a..f44a6e012 100755
--- a/backend/scripts/install-go.sh
+++ b/backend/scripts/install-go.sh
@@ -17,7 +17,7 @@
 
 set -eu
 
-GO_VERSION=1.26.6
+GO_VERSION=1.26.9
 INSTALL_DIR=/opt/go/$GO_VERSION
 GO_BIN=$INSTALL_DIR/bin/go
 
@@ -54,11 +54,11 @@ fi
 case "$(uname -m)" in
     x86_64|amd64)
         archive_name=go${GO_VERSION}.linux-amd64.tar.gz
-        
archive_sha256=708effb774be8237570d0add163225abbdfaf4fca28b2611df167beba4feef89
+        
archive_sha256=42d158b4d8f7b61ac0a830567c940a86098fb7aac52e467a5ebec03ef5cc2f8d
         ;;
     aarch64|arm64)
         archive_name=go${GO_VERSION}.linux-arm64.tar.gz
-        
archive_sha256=d0507e9e9d7fe012aae570108cbd76c15de879e17130ab8cb90d4d7445cb1f2e
+        
archive_sha256=4a97373d49fcacdcf3694fea368a500b00ee3e963974f3e7514132717632f052
         ;;
     *)
         echo "unsupported architecture: $(uname -m)" >&2
diff --git a/backend/scripts/install-mockery.sh 
b/backend/scripts/install-mockery.sh
index f115ee837..7eb1f16e6 100755
--- a/backend/scripts/install-mockery.sh
+++ b/backend/scripts/install-mockery.sh
@@ -17,7 +17,7 @@
 
 set -eu
 
-MOCKERY_VERSION=3.7.4
+MOCKERY_VERSION=3.8.1
 INSTALL_DIR=/opt/mockery/$MOCKERY_VERSION
 MOCKERY_BIN=$INSTALL_DIR/mockery
 
@@ -61,11 +61,11 @@ fi
 case "$(uname -m)" in
     x86_64|amd64)
         archive_name=mockery_${MOCKERY_VERSION}_Linux_x86_64.tar.gz
-        
archive_sha256=d5eef52e238a4262b78ab5a93811826a8bfcff7b0128133c6597e3bf2f0f7337
+        
archive_sha256=953c7d38b58dd6398b1c595f27caf8bbf27e9b733b49c404d2e124e86d2ae72a
         ;;
     aarch64|arm64)
         archive_name=mockery_${MOCKERY_VERSION}_Linux_arm64.tar.gz
-        
archive_sha256=fe591f9ef5ada76c3dee4b8f451aad6748d002e9713fab4bad26b194ff826c4b
+        
archive_sha256=d1f481f3a6e9868dd3ad65da265238ee109ab3a5dd7508958d5811953696f452
         ;;
     *)
         echo "unsupported architecture: $(uname -m)" >&2
diff --git a/devops/docker/lake-builder/Dockerfile 
b/devops/docker/lake-builder/Dockerfile
index 300b73a41..f87ff8b1f 100644
--- a/devops/docker/lake-builder/Dockerfile
+++ b/devops/docker/lake-builder/Dockerfile
@@ -64,8 +64,8 @@ ENV PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
 # 2022, so the image could no longer be rebuilt. Fetch the official archive
 # from go.dev and verify it. Version and checksum match
 # backend/scripts/install-go.sh.
-ARG GO_VERSION=1.26.6
-ARG GO_SHA256=708effb774be8237570d0add163225abbdfaf4fca28b2611df167beba4feef89
+ARG GO_VERSION=1.26.9
+ARG GO_SHA256=42d158b4d8f7b61ac0a830567c940a86098fb7aac52e467a5ebec03ef5cc2f8d
 RUN curl --fail --location --retry 3 
"https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz"; --output /tmp/go.tar.gz 
&&\
     echo "${GO_SHA256}  /tmp/go.tar.gz" | sha256sum --check --strict &&\
     tar -C /usr/local -xzf /tmp/go.tar.gz && rm /tmp/go.tar.gz &&\
@@ -74,7 +74,7 @@ RUN curl --fail --location --retry 3 
"https://go.dev/dl/go${GO_VERSION}.linux-am
 
 # Install Golang Tools (versions match backend/Dockerfile and backend/Makefile)
 RUN export GOPATH=/go &&  \
-    go install github.com/vektra/mockery/[email protected] &&  \
+    go install github.com/vektra/mockery/[email protected] &&  \
     go install github.com/swaggo/swag/cmd/[email protected]
 
 # Golang Env

Reply via email to