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: flox go 1.26.4 (#95385)

Paweł Szczur6bdd6f4a3f5f
diff --git a/.flox/env/manifest.lock b/.flox/env/manifest.lock
index a26cebf8ec07..8eee2bd65616 100644
--- a/.flox/env/manifest.lock
+++ b/.flox/env/manifest.lock
@@ -62,7 +62,7 @@
"go": {
"pkg-path": "go",
"pkg-group": "go",
- "version": "1.25.5"
+ "version": "1.26.4"
},
"golangci-lint": {
"pkg-path": "golangci-lint",
@@ -722,28 +722,30 @@
{
"attr_path": "go",
"broken": false,
- "derivation": "/nix/store/h19kjqi10ynjk0i6scllhv82gx45p58w-go-1.25.5.drv",
+ "derivation": "/nix/store/0j94l4ngkz3fppqd0wxqsvjwri4fny1y-go-1.26.4.drv",
"description": "Go Programming language",
"install_id": "go",
"license": "BSD-3-Clause",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "go-1.25.5",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=d407951447dcd00442e97087bf374aad70c04cea",
+ "name": "go-1.26.4",
"pname": "go",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T04:39:03.429812Z",
+ "rev": "d407951447dcd00442e97087bf374aad70c04cea",
+ "rev_count": 1027867,
+ "rev_date": "2026-07-05T04:06:12Z",
+ "scrape_date": "2026-07-06T03:12:56.227877Z",
"stabilities": [
+ "staging",
"unstable"
],
"unfree": false,
- "version": "1.25.5",
+ "version": "1.26.4",
"outputs_to_install": [
+ "out",
"out",
"out"
],
"outputs": {
- "out": "/nix/store/wh88zz6r1ihcp2mm7ys1f2anp8aga6n2-go-1.25.5"
+ "out": "/nix/store/kyai650rrywrzflnwda9mbk2c2j9w68r-go-1.26.4"
},
"system": "aarch64-darwin",
"group": "go",
@@ -752,27 +754,28 @@
{
"attr_path": "go",
"broken": false,
- "derivation": "/nix/store/32f3plvjz6apyxgi010l0c0ngqydzbyj-go-1.25.5.drv",
+ "derivation": "/nix/store/a402qx3ryvfilga56w29z0izz6jgi7gi-go-1.26.4.drv",
"description": "Go Programming language",
"install_id": "go",
"license": "BSD-3-Clause",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "go-1.25.5",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=d407951447dcd00442e97087bf374aad70c04cea",
+ "name": "go-1.26.4",
"pname": "go",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T05:11:40.352825Z",
+ "rev": "d407951447dcd00442e97087bf374aad70c04cea",
+ "rev_count": 1027867,
+ "rev_date": "2026-07-05T04:06:12Z",
+ "scrape_date": "2026-07-06T03:41:23.896640Z",
"stabilities": [
+ "staging",
"unstable"
],
"unfree": false,
- "version": "1.25.5",
+ "version": "1.26.4",
"outputs_to_install": [
"out"
],
"outputs": {
- "out": "/nix/store/k3knzdi0v21bf2m7vcxpdy1jnqg1h0zk-go-1.25.5"
+ "out": "/nix/store/lgcj27hrbanbc93xm9zdrldds7b1jrw8-go-1.26.4"
},
"system": "aarch64-linux",
"group": "go",
@@ -781,27 +784,28 @@
{
"attr_path": "go",
"broken": false,
- "derivation": "/nix/store/5m70w19x64mr74nzlmlmv2mia2k6mykd-go-1.25.5.drv",
+ "derivation": "/nix/store/0lvbzgq250sass3jyxxvpamk09gcnym3-go-1.26.4.drv",
"description": "Go Programming language",
"install_id": "go",
"license": "BSD-3-Clause",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "go-1.25.5",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=d407951447dcd00442e97087bf374aad70c04cea",
+ "name": "go-1.26.4",
"pname": "go",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T05:45:46.979689Z",
+ "rev": "d407951447dcd00442e97087bf374aad70c04cea",
+ "rev_count": 1027867,
+ "rev_date": "2026-07-05T04:06:12Z",
+ "scrape_date": "2026-07-06T04:09:01.839364Z",
"stabilities": [
+ "staging",
"unstable"
],
"unfree": false,
- "version": "1.25.5",
+ "version": "1.26.4",
"outputs_to_install": [
"out"
],
"outputs": {
- "out": "/nix/store/bwdahzajhqd5x14dbvkqww5f1wpsxif3-go-1.25.5"
+ "out": "/nix/store/h0z6ghmi3cihlbm163d72xs9p9nn04a1-go-1.26.4"
},
"system": "x86_64-darwin",
"group": "go",
@@ -810,30 +814,28 @@
{
"attr_path": "go",
"broken": false,
- "derivation": "/nix/store/3xvlqyw28f7hk7qmk3f18pzi6c7ymzy8-go-1.25.5.drv",
+ "derivation": "/nix/store/z0b6qhv17xys7hfpnxmk0vm31nc3pxdf-go-1.26.4.drv",
"description": "Go Programming language",
"install_id": "go",
"license": "BSD-3-Clause",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "go-1.25.5",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=d407951447dcd00442e97087bf374aad70c04cea",
+ "name": "go-1.26.4",
"pname": "go",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T06:21:10.778878Z",
+ "rev": "d407951447dcd00442e97087bf374aad70c04cea",
+ "rev_count": 1027867,
+ "rev_date": "2026-07-05T04:06:12Z",
+ "scrape_date": "2026-07-06T04:40:26.718134Z",
"stabilities": [
+ "staging",
"unstable"
],
"unfree": false,
- "version": "1.25.5",
+ "version": "1.26.4",
"outputs_to_install": [
- "out",
- "out",
- "out",
"out"
],
"outputs": {
- "out": "/nix/store/zzvsjgylnphvhms3lgr2qlwdxmc68z66-go-1.25.5"
+ "out": "/nix/store/gb0njhqswlc5n127ikgyikvq39r40l6f-go-1.26.4"
},
"system": "x86_64-linux",
"group": "go",
@@ -842,27 +844,28 @@
{
"attr_path": "golangci-lint",
"broken": false,
- "derivation": "/nix/store/jpwydjnf13i6abdn11wi83hriz1kqyy2-golangci-lint-2.9.0.drv",
+ "derivation": "/nix/store/ph0s0h3l0xw3kgapkbcv40j2lyzqryqn-golangci-lint-2.12.2.drv",
"description": "Fast linters Runner for Go",
"install_id": "golangci-lint",
"license": "GPL-3.0-or-later",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "golangci-lint-2.9.0",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=d407951447dcd00442e97087bf374aad70c04cea",
+ "name": "golangci-lint-2.12.2",
"pname": "golangci-lint",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T04:39:03.488936Z",
+ "rev": "d407951447dcd00442e97087bf374aad70c04cea",
+ "rev_count": 1027867,
+ "rev_date": "2026-07-05T04:06:12Z",
+ "scrape_date": "2026-07-06T03:12:56.293941Z",
"stabilities": [
+ "staging",
"unstable"
],
"unfree": false,
- "version": "2.9.0",
+ "version": "2.12.2",
"outputs_to_install": [
"out"
],
"outputs": {
- "out": "/nix/store/d58cy4knp90177kgyjw76qlgxwrmz39r-golangci-lint-2.9.0"
+ "out": "/nix/store/q0mwmg8zin7aw87bllirja1bq58mphh6-golangci-lint-2.12.2"
},
"system": "aarch64-darwin",
"group": "go",
@@ -871,27 +874,28 @@
{
"attr_path": "golangci-lint",
"broken": false,
- "derivation": "/nix/store/1jx6ypimlj1zdb1l1z35032pimvpsy1b-golangci-lint-2.9.0.drv",
+ "derivation": "/nix/store/vb3gdpksmh0slvpsj7pzhbf9vjlylclh-golangci-lint-2.12.2.drv",
"description": "Fast linters Runner for Go",
"install_id": "golangci-lint",
"license": "GPL-3.0-or-later",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "golangci-lint-2.9.0",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=d407951447dcd00442e97087bf374aad70c04cea",
+ "name": "golangci-lint-2.12.2",
"pname": "golangci-lint",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T05:11:40.443759Z",
+ "rev": "d407951447dcd00442e97087bf374aad70c04cea",
+ "rev_count": 1027867,
+ "rev_date": "2026-07-05T04:06:12Z",
+ "scrape_date": "2026-07-06T03:41:24.003386Z",
"stabilities": [
+ "staging",
"unstable"
],
"unfree": false,
- "version": "2.9.0",
+ "version": "2.12.2",
"outputs_to_install": [
"out"
],
"outputs": {
- "out": "/nix/store/0pmkfq41ay1hdz64lkvfqxyfd41ir1k6-golangci-lint-2.9.0"
+ "out": "/nix/store/i6f2vzix80whq7z1z1pklzflxk5nbkwd-golangci-lint-2.12.2"
},
"system": "aarch64-linux",
"group": "go",
@@ -900,27 +904,28 @@
{
"attr_path": "golangci-lint",
"broken": false,
- "derivation": "/nix/store/i44nmai0z269ida0was74xbs98r91zk5-golangci-lint-2.9.0.drv",
+ "derivation": "/nix/store/58n129msqj1vm9msnhhchg53v55rd6vn-golangci-lint-2.12.2.drv",
"description": "Fast linters Runner for Go",
"install_id": "golangci-lint",
"license": "GPL-3.0-or-later",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "golangci-lint-2.9.0",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=d407951447dcd00442e97087bf374aad70c04cea",
+ "name": "golangci-lint-2.12.2",
"pname": "golangci-lint",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T05:45:47.041178Z",
+ "rev": "d407951447dcd00442e97087bf374aad70c04cea",
+ "rev_count": 1027867,
+ "rev_date": "2026-07-05T04:06:12Z",
+ "scrape_date": "2026-07-06T04:09:01.919169Z",
"stabilities": [
+ "staging",
"unstable"
],
"unfree": false,
- "version": "2.9.0",
+ "version": "2.12.2",
"outputs_to_install": [
"out"
],
"outputs": {
- "out": "/nix/store/c2aa1drrmj4ahhcg87nm2arlh9gv4s5y-golangci-lint-2.9.0"
+ "out": "/nix/store/w8c3i6vmxnnj0xixvjsa9lva3rcd2rvs-golangci-lint-2.12.2"
},
"system": "x86_64-darwin",
"group": "go",
@@ -929,27 +934,28 @@
{
"attr_path": "golangci-lint",
"broken": false,
- "derivation": "/nix/store/9kcs2dwcz3740qh3jxf1gly17cahvzvd-golangci-lint-2.9.0.drv",
+ "derivation": "/nix/store/hzpb89z905j3d9l2wjwi0j6cjjim9lv0-golangci-lint-2.12.2.drv",
"description": "Fast linters Runner for Go",
"install_id": "golangci-lint",
"license": "GPL-3.0-or-later",
- "locked_url": "https://github.com/flox/nixpkgs?rev=a82ccc39b39b621151d6732718e3e250109076fa",
- "name": "golangci-lint-2.9.0",
+ "locked_url": "https://github.com/flox/nixpkgs?rev=d407951447dcd00442e97087bf374aad70c04cea",
+ "name": "golangci-lint-2.12.2",
"pname": "golangci-lint",
- "rev": "a82ccc39b39b621151d6732718e3e250109076fa",
- "rev_count": 945868,
- "rev_date": "2026-02-13T18:55:12Z",
- "scrape_date": "2026-02-15T06:21:10.876139Z",
+ "rev": "d407951447dcd00442e97087bf374aad70c04cea",
+ "rev_count": 1027867,
+ "rev_date": "2026-07-05T04:06:12Z",
+ "scrape_date": "2026-07-06T04:40:26.827307Z",
"stabilities": [
+ "staging",
"unstable"
],
"unfree": false,
- "version": "2.9.0",
+ "version": "2.12.2",
"outputs_to_install": [
"out"
],
"outputs": {
- "out": "/nix/store/z4hziw97m0z1zlrn27pyk53s13czn1gi-golangci-lint-2.9.0"
+ "out": "/nix/store/1r5xmhis3iq5cn3wfq2jn62yiwsb97sc-golangci-lint-2.12.2"
},
"system": "x86_64-linux",
"group": "go",
diff --git a/.flox/env/manifest.toml b/.flox/env/manifest.toml
index 9d7b05f6b7da..56939850da54 100644
--- a/.flox/env/manifest.toml
+++ b/.flox/env/manifest.toml
@@ -44,7 +44,7 @@ rust-analyzer = { pkg-path = "rust-analyzer", pkg-group = "rust-analyzer" } # ru
lld = { pkg-path = "lld", systems = ["aarch64-darwin"] } # Faster linker for Rust dev builds on macOS
sccache = { pkg-path = "sccache" } # Compilation cache for Rust (also used in CI)
# Go
-go = { pkg-path = "go", version = "1.25.5", pkg-group = "go" }
+go = { pkg-path = "go", version = "1.26.4", pkg-group = "go" }
golangci-lint = { pkg-path = "golangci-lint", pkg-group = "go" }
air = { pkg-path = "air" }
# CLI tools
diff --git a/.github/workflows/build-livestream-tui.yml b/.github/workflows/build-livestream-tui.yml
index 87f3c6e0189c..a045d67f9eac 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.25.5'
+ go-version: '1.26.4'
cache-dependency-path: livestream/go.sum
- name: Build production binaries
diff --git a/.github/workflows/ci-livestream-tui.yml b/.github/workflows/ci-livestream-tui.yml
index cfe5325f9523..19e3dc356508 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.25.5'
+ go-version: '1.26.4'
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.25.5'
+ go-version: '1.26.4'
cache-dependency-path: livestream/go.sum
- name: Build
diff --git a/.github/workflows/ci-livestream.yml b/.github/workflows/ci-livestream.yml
index 502c7349bb32..f3a554065541 100644
--- a/.github/workflows/ci-livestream.yml
+++ b/.github/workflows/ci-livestream.yml
@@ -28,7 +28,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
- go-version: '1.25.5'
+ go-version: '1.26.4'
cache-dependency-path: livestream/go.sum
- name: Run golangci-lint
diff --git a/livestream/Dockerfile b/livestream/Dockerfile
index 73acd971121b..966b0a9b5ba8 100644
--- a/livestream/Dockerfile
+++ b/livestream/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.25.5 AS builder
+FROM golang:1.26.4 AS builder
WORKDIR /code
COPY go.sum go.mod ./
RUN go mod download -x
diff --git a/livestream/go.mod b/livestream/go.mod
index 585085597cef..be871a59b253 100644
--- a/livestream/go.mod
+++ b/livestream/go.mod
@@ -1,12 +1,13 @@
module github.com/posthog/posthog/livestream
-go 1.25.5
+go 1.26.4
require (
github.com/alicebob/miniredis/v2 v2.34.0
github.com/charmbracelet/bubbles v1.0.0
github.com/charmbracelet/bubbletea v1.3.10
github.com/charmbracelet/lipgloss v1.1.0
+ github.com/cloudflare/ahocorasick v0.0.0-20240916140611-054963ec9396
github.com/confluentinc/confluent-kafka-go/v2 v2.14.1
github.com/gofrs/uuid/v5 v5.3.2
github.com/golang-jwt/jwt/v5 v5.2.2
@@ -36,7 +37,6 @@ require (
github.com/clipperhouse/displaywidth v0.9.0 // indirect
github.com/clipperhouse/stringish v0.1.1 // indirect
github.com/clipperhouse/uax29/v2 v2.5.0 // indirect
- github.com/cloudflare/ahocorasick v0.0.0-20240916140611-054963ec9396 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/docker/docker-credential-helpers v0.8.2 // indirect
github.com/emicklei/go-restful/v3 v3.12.1 // indirect