From 792c2d9fbc5e4ea0d10cefd2133a5b6b9285bc0d Mon Sep 17 00:00:00 2001 From: Caleb Allen Date: Sat, 26 Sep 2026 17:00:47 -0400 Subject: [PATCH] build: require Go 1.26 everywhere at once The newest go-json-experiment/json, which wails/v3's application package imports, declares go 1.26, so taking it raises our go directive with it. Every other place that names a Go version moves in the same commit: GO_VERSION in ci, desktop-assets and android-apk, the Arch makedepends, and CONTRIBUTING's table. index-artifact's container image moves too, and it is the one that matters most. The official golang images set GOTOOLCHAIN=local, so a golang:1.25 container refuses a go 1.26 module outright rather than fetching a newer toolchain, and that job owns the ~205 GB checkpoint. Closes #265 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017HJiuc3ZZhxsPXz3ozTirT --- .gitea/workflows/android-apk.yml | 2 +- .gitea/workflows/ci.yml | 4 ++-- .gitea/workflows/desktop-assets.yml | 2 +- .gitea/workflows/index-artifact.yml | 2 +- CONTRIBUTING.md | 2 +- go.mod | 4 ++-- go.sum | 4 ++-- packaging/arch/PKGBUILD | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/android-apk.yml b/.gitea/workflows/android-apk.yml index 94e6c06..491706a 100644 --- a/.gitea/workflows/android-apk.yml +++ b/.gitea/workflows/android-apk.yml @@ -68,7 +68,7 @@ jobs: SHA: ${{ github.sha }} REF_NAME: ${{ github.ref_name }} DEBIAN_FRONTEND: noninteractive - GO_VERSION: '1.25.0' + GO_VERSION: '1.26.0' npm_config_store_dir: /cache/pnpm-store # The Go half wants the NDK; the Gradle half wants a platform. ANDROID_HOME: /cache/android-sdk diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 78a2763..9212bc9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -36,7 +36,7 @@ concurrency: cancel-in-progress: true env: - GO_VERSION: '1.25.0' + GO_VERSION: '1.26.0' # Shared by all three Playwright consumers (@playwright/cli, e2e/'s # @playwright/test, frontend/'s Vitest provider). See the browsers # step in job 2 for why that is not the whole story. @@ -53,7 +53,7 @@ jobs: check: runs-on: ubuntu-latest container: - # Not golang:1.25 — this job runs `make ui-test`, which is Vitest + # Not golang:1.26 — this job runs `make ui-test`, which is Vitest # *browser* mode and needs a Chromium and its system libraries # anyway, so the "fast job needs no browser" split does not hold. # Not the Playwright image either: e2e/ pins @playwright/test diff --git a/.gitea/workflows/desktop-assets.yml b/.gitea/workflows/desktop-assets.yml index a993830..994a166 100644 --- a/.gitea/workflows/desktop-assets.yml +++ b/.gitea/workflows/desktop-assets.yml @@ -48,7 +48,7 @@ jobs: SHA: ${{ github.sha }} REF_NAME: ${{ github.ref_name }} DEBIAN_FRONTEND: noninteractive - GO_VERSION: '1.25.0' + GO_VERSION: '1.26.0' npm_config_store_dir: /cache/pnpm-store steps: # The same set ci.yml's check job installs: the app is cgo, and diff --git a/.gitea/workflows/index-artifact.yml b/.gitea/workflows/index-artifact.yml index 4ae894c..4a28903 100644 --- a/.gitea/workflows/index-artifact.yml +++ b/.gitea/workflows/index-artifact.yml @@ -68,7 +68,7 @@ jobs: # claim with a test behind it now (cmd/indexbuild/deps_test.go), # because the v3 migration quietly broke it and this job was where # that surfaced. - image: golang:1.25 + image: golang:1.26 # This host path must exist on the runner and be listed verbatim in # act_runner's container.valid_volumes. It holds explore-staging/ # (counts.bin + state.json) and yj.db — the checkpoint that makes diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5311019..e48d075 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -13,7 +13,7 @@ frontend, bridged by [Wails v3](https://wails.io/). | Tool | Version | |------|---------| -| Go | 1.25+ | +| Go | 1.26+ | | Node.js | 22+ | | pnpm | 10+ | | Wails CLI | v3 — vendored, no install needed (`go tool wails3`) | diff --git a/go.mod b/go.mod index ebc414e..440fe82 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module yellowjacket -go 1.25.0 +go 1.26 require ( github.com/BurntSushi/toml v1.6.0 @@ -144,7 +144,7 @@ require ( github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.9.0 // indirect github.com/go-git/go-git/v5 v5.19.2 // indirect - github.com/go-json-experiment/json v0.0.0-20251027170946-4849db3c2f7e // indirect + github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3 // indirect github.com/go-ole/go-ole v1.3.0 // indirect github.com/go-resty/resty/v2 v2.17.1 // indirect github.com/go-sql-driver/mysql v1.9.3 // indirect diff --git a/go.sum b/go.sum index 1858f35..1ca5a86 100644 --- a/go.sum +++ b/go.sum @@ -362,8 +362,8 @@ github.com/go-git/go-git/v5 v5.19.2/go.mod h1:QqCBE1EFN5ddFmrliLQ3/ntRCUjZU3EJuw github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-json-experiment/json v0.0.0-20251027170946-4849db3c2f7e h1:Lf/gRkoycfOBPa42vU2bbgPurFong6zXeFtPoxholzU= -github.com/go-json-experiment/json v0.0.0-20251027170946-4849db3c2f7e/go.mod h1:uNVvRXArCGbZ508SxYYTC5v1JWoz2voff5pm25jU1Ok= +github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3 h1:UADEEmDKgfXbtnGJZ97beY5XLo9ZechG1nlU4KnRrkE= +github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3/go.mod h1:tphK2c80bpPhMOI4v6bIc2xWywPfbqi1Z06+RcrMkDg= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index d6d2949..6a8a2d6 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -18,7 +18,7 @@ arch=('x86_64') url="https://git.ljones.me/yonlu/yellowjacket" license=('custom') depends=('webkitgtk-6.0' 'gtk4' 'alsa-lib' 'hicolor-icon-theme') -makedepends=('go>=1.25' 'nodejs>=22' 'pnpm' 'git') +makedepends=('go>=1.26' 'nodejs>=22' 'pnpm' 'git') options=('!lto') # Source is overridable so the same PKGBUILD works two ways: