Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(deps): bump go toolchains to the latest patch releases (#120761)

Rafael Audibertced4ff348d03
diff --git a/.github/workflows/build-hobby-installer.yml b/.github/workflows/build-hobby-installer.yml
index ed9a6f9b7a91..751d7d98ba1c 100644
--- a/.github/workflows/build-hobby-installer.yml
+++ b/.github/workflows/build-hobby-installer.yml
@@ -33,7 +33,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
- go-version: '1.25.5'
+ go-version: '1.26.10'
- name: Build production binary
run: cd bin/hobby-installer && make build-linux
diff --git a/.github/workflows/build-livestream-tui.yml b/.github/workflows/build-livestream-tui.yml
index a045d67f9eac..50e6931f5035 100644
--- a/.github/workflows/build-livestream-tui.yml
+++ b/.github/workflows/build-livestream-tui.yml
@@ -32,7 +32,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
- go-version: '1.26.4'
+ go-version: '1.26.10'
cache-dependency-path: livestream/go.sum
- name: Build production binaries
diff --git a/.github/workflows/build-phrocs.yml b/.github/workflows/build-phrocs.yml
index d7010e2f51a8..00ead264c048 100644
--- a/.github/workflows/build-phrocs.yml
+++ b/.github/workflows/build-phrocs.yml
@@ -47,7 +47,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
- go-version: '1.25.5'
+ go-version: '1.26.10'
cache: true
cache-dependency-path: tools/phrocs/go.sum
diff --git a/.github/workflows/ci-hobby-installer.yml b/.github/workflows/ci-hobby-installer.yml
index 8ebf186fdb80..1a020b0f31c1 100644
--- a/.github/workflows/ci-hobby-installer.yml
+++ b/.github/workflows/ci-hobby-installer.yml
@@ -27,7 +27,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
- go-version: '1.25.5'
+ go-version: '1.26.10'
cache-dependency-path: bin/hobby-installer/go.sum
- name: Run golangci-lint
@@ -60,7 +60,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
- go-version: '1.25.5'
+ go-version: '1.26.10'
cache-dependency-path: bin/hobby-installer/go.sum
- name: Build
diff --git a/.github/workflows/ci-livestream-tui.yml b/.github/workflows/ci-livestream-tui.yml
index 19e3dc356508..b1289f538745 100644
--- a/.github/workflows/ci-livestream-tui.yml
+++ b/.github/workflows/ci-livestream-tui.yml
@@ -32,7 +32,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
- go-version: '1.26.4'
+ go-version: '1.26.10'
cache-dependency-path: livestream/go.sum
- name: Run golangci-lint
@@ -63,7 +63,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
- go-version: '1.26.4'
+ go-version: '1.26.10'
cache-dependency-path: livestream/go.sum
- name: Build
diff --git a/.github/workflows/ci-livestream.yml b/.github/workflows/ci-livestream.yml
index 0adf2f550b90..6207a1a15cae 100644
--- a/.github/workflows/ci-livestream.yml
+++ b/.github/workflows/ci-livestream.yml
@@ -34,7 +34,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
- go-version: '1.26.4'
+ go-version: '1.26.10'
cache-dependency-path: livestream/go.sum
- name: Run golangci-lint
diff --git a/.github/workflows/ci-phrocs.yml b/.github/workflows/ci-phrocs.yml
index 52df1235a1a4..33655405beef 100644
--- a/.github/workflows/ci-phrocs.yml
+++ b/.github/workflows/ci-phrocs.yml
@@ -34,7 +34,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
- go-version: '1.25.5'
+ go-version: '1.26.10'
cache-dependency-path: tools/phrocs/go.sum
- name: Run golangci-lint
diff --git a/clickhouse-udfs/util/go.mod b/clickhouse-udfs/util/go.mod
index 0df9551bb979..119ea849a515 100644
--- a/clickhouse-udfs/util/go.mod
+++ b/clickhouse-udfs/util/go.mod
@@ -1,6 +1,6 @@
module github.com/PostHog/posthog/clickhouse-udfs/util
-go 1.27.1
+go 1.27.3
require (
github.com/klauspost/compress v1.19.1
diff --git a/docs/internal/clickhouse-utility-udfs.md b/docs/internal/clickhouse-utility-udfs.md
index fb8746bd3c70..ec5d7e634d72 100644
--- a/docs/internal/clickhouse-utility-udfs.md
+++ b/docs/internal/clickhouse-utility-udfs.md
@@ -12,7 +12,7 @@ Invalid scalar and array `$feature_flags` values are replaced with an empty map
map values from failing insertion into the typed JSON column while preserving unrelated properties.
See [the utility UDF README](../../clickhouse-udfs/util/README.md) for build and integration-test commands.
-The utility module and CI use Go 1.27.1, declared in `clickhouse-udfs/util/go.mod`.
+The utility module and CI use Go 1.27.3, declared in `clickhouse-udfs/util/go.mod`.
Rebuild all utilities for Linux amd64 and arm64 with `./scripts/build.sh` whenever this version changes; CI verifies the checked-in binaries.
Changes to `posthog/user_scripts` no longer dispatch the separate UDF publishing workflow on pushes to master.
diff --git a/docs/internal/hogql-language-service.md b/docs/internal/hogql-language-service.md
index 8b5c9fb47a3b..505cb1e50e01 100644
--- a/docs/internal/hogql-language-service.md
+++ b/docs/internal/hogql-language-service.md
@@ -411,7 +411,7 @@ API contract.
## Deployment and rollout
-The production container builds a static binary with Go 1.27.1 and runs as a non-root user. A non-loopback listener
+The production container builds a static binary with Go 1.27.3 and runs as a non-root user. A non-loopback listener
fails startup unless dedicated signing keys are configured.
Local and debug environments may use the service directly. Production integration remains behind a server-side
diff --git a/livestream/Dockerfile b/livestream/Dockerfile
index 966b0a9b5ba8..28c4df78e564 100644
--- a/livestream/Dockerfile
+++ b/livestream/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.26.4 AS builder
+FROM golang:1.26.10 AS builder
WORKDIR /code
COPY go.sum go.mod ./
RUN go mod download -x
diff --git a/posthog/user_scripts/decompress_udf_aarch64 b/posthog/user_scripts/decompress_udf_aarch64
index 3af9a059daf7..5fcfb16121dd 100755
Binary files a/posthog/user_scripts/decompress_udf_aarch64 and b/posthog/user_scripts/decompress_udf_aarch64 differ
diff --git a/posthog/user_scripts/decompress_udf_x86_64 b/posthog/user_scripts/decompress_udf_x86_64
index 56d4d5f1c3e6..bbd6bfa0a295 100755
Binary files a/posthog/user_scripts/decompress_udf_x86_64 and b/posthog/user_scripts/decompress_udf_x86_64 differ
diff --git a/posthog/user_scripts/json_clean_posthog_event_properties_udf_aarch64 b/posthog/user_scripts/json_clean_posthog_event_properties_udf_aarch64
index 50e90cef51f2..b0fac25abf78 100755
Binary files a/posthog/user_scripts/json_clean_posthog_event_properties_udf_aarch64 and b/posthog/user_scripts/json_clean_posthog_event_properties_udf_aarch64 differ
diff --git a/posthog/user_scripts/json_clean_posthog_event_properties_udf_x86_64 b/posthog/user_scripts/json_clean_posthog_event_properties_udf_x86_64
index bf2af796301c..2c71ac1a365f 100755
Binary files a/posthog/user_scripts/json_clean_posthog_event_properties_udf_x86_64 and b/posthog/user_scripts/json_clean_posthog_event_properties_udf_x86_64 differ
diff --git a/posthog/user_scripts/json_drop_keys_udf_aarch64 b/posthog/user_scripts/json_drop_keys_udf_aarch64
index 64bef7398d79..b1a06be34547 100755
Binary files a/posthog/user_scripts/json_drop_keys_udf_aarch64 and b/posthog/user_scripts/json_drop_keys_udf_aarch64 differ
diff --git a/posthog/user_scripts/json_drop_keys_udf_x86_64 b/posthog/user_scripts/json_drop_keys_udf_x86_64
index 995351ae7e18..91ac16dd6e10 100755
Binary files a/posthog/user_scripts/json_drop_keys_udf_x86_64 and b/posthog/user_scripts/json_drop_keys_udf_x86_64 differ
diff --git a/posthog/user_scripts/json_strip_empty_strings_and_nulls_udf_aarch64 b/posthog/user_scripts/json_strip_empty_strings_and_nulls_udf_aarch64
index 030776f9e469..26f9612db81c 100755
Binary files a/posthog/user_scripts/json_strip_empty_strings_and_nulls_udf_aarch64 and b/posthog/user_scripts/json_strip_empty_strings_and_nulls_udf_aarch64 differ
diff --git a/posthog/user_scripts/json_strip_empty_strings_and_nulls_udf_x86_64 b/posthog/user_scripts/json_strip_empty_strings_and_nulls_udf_x86_64
index 1368a748dd99..6ac7c3770aab 100755
Binary files a/posthog/user_scripts/json_strip_empty_strings_and_nulls_udf_x86_64 and b/posthog/user_scripts/json_strip_empty_strings_and_nulls_udf_x86_64 differ
diff --git a/products/tasks/backend/sandbox/images/Dockerfile.sandbox-base b/products/tasks/backend/sandbox/images/Dockerfile.sandbox-base
index 45c58f510932..4fbf1f2c920e 100644
--- a/products/tasks/backend/sandbox/images/Dockerfile.sandbox-base
+++ b/products/tasks/backend/sandbox/images/Dockerfile.sandbox-base
@@ -1,6 +1,6 @@
# Dockerfile for the base sandbox image.
-FROM golang:1.23 AS agent-shadow-builder
+FROM golang:1.27.3 AS agent-shadow-builder
WORKDIR /src
COPY packages/agent/agent-shadow/ ./
diff --git a/products/tasks/backend/sandbox/images/bake-posthog-dev-stack.sh b/products/tasks/backend/sandbox/images/bake-posthog-dev-stack.sh
index 49558d77af66..2e701e4cf4f3 100644
--- a/products/tasks/backend/sandbox/images/bake-posthog-dev-stack.sh
+++ b/products/tasks/backend/sandbox/images/bake-posthog-dev-stack.sh
@@ -51,9 +51,9 @@ BAKE_MANIFEST=/opt/posthog/dev-stack-bake.json
# the vendors' published manifests (go.dev/dl, static.rust-lang.org/rustup/archive) and
# guard the privileged downloads below: a tampered artifact fails the bake instead of
# being published into the shared internal image. Bump them together with the versions.
-GO_VERSION=1.25.5
-GO_SHA256_AMD64=9e9b755d63b36acf30c12a9a3fc379243714c1c6d3dd72861da637f336ebb35b
-GO_SHA256_ARM64=b00b694903d126c588c378e72d3545549935d3982635ba3f7a964c9fa23fe3b9
+GO_VERSION=1.26.10
+GO_SHA256_AMD64=ccfe7ae822d2c2f41f4fe7c956199967a4dac22d0ee0d2b2bfdb440aab3b20c5
+GO_SHA256_ARM64=3f4227ce7b206a513e794f1393adb473a07b46e94d18bd15d1c684bbb7319797
RUSTUP_VERSION=1.29.0
RUSTUP_SHA256_AMD64=4acc9acc76d5079515b46346a485974457b5a79893cfb01112423c89aeb5aa10
RUSTUP_SHA256_ARM64=9732d6c5e2a098d3521fca8145d826ae0aaa067ef2385ead08e6feac88fa5792
diff --git a/services/hogql-language-service/Dockerfile b/services/hogql-language-service/Dockerfile
index f70fb1a52fd0..8f6e77452a71 100644
--- a/services/hogql-language-service/Dockerfile
+++ b/services/hogql-language-service/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.27.1-bookworm@sha256:648f440f42a0958804efb24df176f806f9d353b41f1c0627f666428e40310f6b AS build
+FROM golang:1.27.3-bookworm@sha256:5c3e9b43cfd3bb95c7937462e29d87ada57b481a96fa23ad0eb61778d7a00110 AS build
WORKDIR /src
diff --git a/services/hogql-language-service/README.md b/services/hogql-language-service/README.md
index 0cb305389cd0..3950a36efba3 100644
--- a/services/hogql-language-service/README.md
+++ b/services/hogql-language-service/README.md
@@ -214,7 +214,7 @@ docker run --rm \
hogql-lang-service:local
```
-The production binary is compiled with Go 1.27.1 and `go build -trimpath`. The runtime image contains only the static
+The production binary is compiled with Go 1.27.3 and `go build -trimpath`. The runtime image contains only the static
service binary, the commit identifier, and CA certificates. BuildKit's `TARGETOS` and `TARGETARCH` arguments allow
native `linux/amd64` and `linux/arm64` builds.
diff --git a/services/hogql-language-service/go.mod b/services/hogql-language-service/go.mod
index c0158fa40bcc..d7dbf9ac36f8 100644
--- a/services/hogql-language-service/go.mod
+++ b/services/hogql-language-service/go.mod
@@ -1,5 +1,5 @@
module github.com/PostHog/posthog/services/hogql-language-service
-go 1.27.1
+go 1.27.3
require github.com/orian/clickhouse-sql-parser v1.0.4