From 946a74803882a10d7b84f17122e9a4e51ccaff46 Mon Sep 17 00:00:00 2001 From: mrhid6 Date: Sat, 25 Jul 2026 19:33:58 +0100 Subject: [PATCH] chore: declare go 1.26 rather than 1.26.4 across the workspace The 1.26.4 floor meant a base toolchain of 1.26.2 could not load the workspace at all: the terminal worked only because GOTOOLCHAIN=auto silently swapped in a downloaded 1.26.4, and gopls -- which does not get that switch -- failed every packages.Load with go: go.work requires go >= 1.26.4 (running go 1.26.2) Nothing needed the patch-level floor. agent/go.mod already declared plain go 1.26, so this makes the workspace uniform rather than introducing a new convention, and CI is unaffected because golang:1.26 is already newer. Co-Authored-By: Claude Opus 5 --- admin/go.mod | 2 +- go.work | 2 +- server/go.mod | 2 +- shared/go.mod | 2 +- sitesvc/go.mod | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/admin/go.mod b/admin/go.mod index bea216c..6c170ec 100644 --- a/admin/go.mod +++ b/admin/go.mod @@ -1,6 +1,6 @@ module github.com/mrhid6/vantage/admin -go 1.26.4 +go 1.26 require ( github.com/gin-gonic/gin v1.10.0 diff --git a/go.work b/go.work index 9e3bdca..d32d8cf 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.26.4 +go 1.26 use ( ./admin diff --git a/server/go.mod b/server/go.mod index 85af815..66c7414 100644 --- a/server/go.mod +++ b/server/go.mod @@ -1,6 +1,6 @@ module github.com/mrhid6/vantage/server -go 1.26.4 +go 1.26 require ( github.com/coreos/go-oidc/v3 v3.18.0 diff --git a/shared/go.mod b/shared/go.mod index 9aaff77..f4f9122 100644 --- a/shared/go.mod +++ b/shared/go.mod @@ -1,6 +1,6 @@ module github.com/mrhid6/vantage/shared -go 1.26.4 +go 1.26 require ( github.com/google/uuid v1.6.0 diff --git a/sitesvc/go.mod b/sitesvc/go.mod index f2bb26c..7113ede 100644 --- a/sitesvc/go.mod +++ b/sitesvc/go.mod @@ -1,6 +1,6 @@ module github.com/mrhid6/vantage/sitesvc -go 1.26.4 +go 1.26 require ( github.com/google/uuid v1.6.0