Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(ci): require Go 1.26.9 security patches (#9143)
Bohan Jiange5d4acfaefa4
diff --git a/.github/RELEASING.md b/.github/RELEASING.mdindex 7840adcd20..e46742293e 100644--- a/.github/RELEASING.md+++ b/.github/RELEASING.md@@ -10,6 +10,14 @@ formulae, and container images.The verification job runs the Go tests and `govulncheck` before any publishingjob starts. The vulnerability scan is fail-closed by default.+CI and release jobs require Go `~1.26.9`: at least 1.26.9, while accepting+newer 1.26 patches. This security floor is independent of the development+minimum in `server/go.mod`. A plain `1.26.x` can resolve to an older patch+while the `setup-go` version manifest catches up with an official Go release.+When raising the security floor, update all Go workflows and the pinned+Go builder image in `Dockerfile` together so shipped binaries also receive+the fixes.+## Emergency vulnerability-scan bypassUse the bypass only when `govulncheck` itself or its live vulnerability databasediff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 1c959524e3..a77d1c4c9e 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -72,7 +72,7 @@ jobs:- name: Setup Gouses: actions/setup-go@v5with:- go-version: "1.26.x"+ go-version: "~1.26.9"check-latest: truecache-dependency-path: server/go.sum@@ -348,9 +348,9 @@ jobs:id: gouses: actions/setup-go@v5with:- # Deliberately independent from the minimum patch in server/go.mod:- # CI follows the newest 1.26 patch available to setup-go.- go-version: "1.26.x"+ # Keep the security floor even when the setup-go manifest lags;+ # continue accepting newer patches within Go 1.26.+ go-version: "~1.26.9"check-latest: truecache: false@@ -450,7 +450,7 @@ jobs:id: gouses: actions/setup-go@v5with:- go-version: "1.26.x"+ go-version: "~1.26.9"check-latest: truecache: false@@ -488,9 +488,9 @@ jobs:- name: Setup Gouses: actions/setup-go@v5with:- # Deliberately independent from the minimum patch in server/go.mod:- # CI follows the newest 1.26 patch available to setup-go.- go-version: "1.26.x"+ # Keep the security floor even when the setup-go manifest lags;+ # continue accepting newer patches within Go 1.26.+ go-version: "~1.26.9"check-latest: truecache-dependency-path: server/go.sum@@ -527,9 +527,9 @@ jobs:- name: Setup Gouses: actions/setup-go@v5with:- # Deliberately independent from the minimum patch in server/go.mod:- # CI follows the newest 1.26 patch available to setup-go.- go-version: "1.26.x"+ # Keep the security floor even when the setup-go manifest lags;+ # continue accepting newer patches within Go 1.26.+ go-version: "~1.26.9"check-latest: truecache-dependency-path: server/go.sum@@ -788,7 +788,7 @@ jobs:- uses: actions/checkout@v6- uses: actions/setup-go@v5with:- go-version: "1.26.x"+ go-version: "~1.26.9"cache-dependency-path: server/go.sum- name: Verify Cursor background lifecycle and watchdog racesshell: bashdiff --git a/.github/workflows/desktop-smoke.yml b/.github/workflows/desktop-smoke.ymlindex 6573ea6cb1..4a66647886 100644--- a/.github/workflows/desktop-smoke.yml+++ b/.github/workflows/desktop-smoke.yml@@ -30,9 +30,9 @@ jobs:- name: Setup Gouses: actions/setup-go@v5with:- # Deliberately independent from the minimum patch in server/go.mod:- # CI follows the newest 1.26 patch available to setup-go.- go-version: "1.26.x"+ # Keep the security floor even when the setup-go manifest lags;+ # continue accepting newer patches within Go 1.26.+ go-version: "~1.26.9"check-latest: truecache-dependency-path: server/go.sumdiff --git a/.github/workflows/openclaw-config-smoke.yml b/.github/workflows/openclaw-config-smoke.ymlindex 867ecf06c8..56fa1a9c55 100644--- a/.github/workflows/openclaw-config-smoke.yml+++ b/.github/workflows/openclaw-config-smoke.yml@@ -35,7 +35,7 @@ jobs:- name: Setup Gouses: actions/setup-go@v5with:- go-version: "1.26.x"+ go-version: "~1.26.9"check-latest: truecache-dependency-path: server/go.sumdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 448dc861b2..c46ed315fa 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -54,9 +54,9 @@ jobs:- name: Setup Gouses: actions/setup-go@v5with:- # Deliberately independent from the minimum patch in server/go.mod:- # releases follow the newest 1.26 patch available to setup-go.- go-version: "1.26.x"+ # Keep the security floor even when the setup-go manifest lags;+ # continue accepting newer patches within Go 1.26.+ go-version: "~1.26.9"check-latest: truecache-dependency-path: server/go.sum@@ -98,9 +98,9 @@ jobs:- name: Setup Gouses: actions/setup-go@v5with:- # Deliberately independent from the minimum patch in server/go.mod:- # releases follow the newest 1.26 patch available to setup-go.- go-version: "1.26.x"+ # Keep the security floor even when the setup-go manifest lags;+ # continue accepting newer patches within Go 1.26.+ go-version: "~1.26.9"check-latest: truecache-dependency-path: server/go.sum@@ -424,9 +424,9 @@ jobs:- name: Setup Gouses: actions/setup-go@v5with:- # Deliberately independent from the minimum patch in server/go.mod:- # releases follow the newest 1.26 patch available to setup-go.- go-version: "1.26.x"+ # Keep the security floor even when the setup-go manifest lags;+ # continue accepting newer patches within Go 1.26.+ go-version: "~1.26.9"check-latest: truecache-dependency-path: server/go.sumdiff --git a/Dockerfile b/Dockerfileindex 8b0335a26f..6710b85c0c 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,5 +1,5 @@# --- Build stage ----FROM golang:1.26-alpine AS builder+FROM golang:1.26.9-alpine AS builderRUN apk add --no-cache git