From d2080774e14ca17586ae16013b2be2e8fcd70a4b Mon Sep 17 00:00:00 2001 From: Albert Bausili Date: Tue, 1 Sep 2026 18:24:05 +0200 Subject: [PATCH 1/2] chore: Go 1.27.0 toolchain + refresh all Go dependencies Go 1.27.0 is the current stable release. Moves both the CI toolchain (1.26.6) and the `go` directive in both modules (1.26.4) onto it, so the declared language version and the version actually building it agree again. Dependency refresh across both modules: golang.org/x/net 0.57.0 -> 0.58.0 (supersedes dependabot #76) golang.org/x/text 0.40.0 -> 0.41.0 golang.org/x/sys 0.46.0 -> 0.47.0 (testserver) Verified on Go 1.27.0: build, vet, gofmt clean, and the full suite green under -race (root 102s, checkpoint 1.8s). --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- go.mod | 6 +++--- go.sum | 8 ++++---- internal/integrationtest/testserver/go.mod | 8 ++++---- internal/integrationtest/testserver/go.sum | 12 ++++++------ 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c1aff8..70ebc38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: "1.26.6" + go-version: "1.27.0" - uses: golangci/golangci-lint-action@v9 with: version: v2.12 @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: "1.26.6" + go-version: "1.27.0" - name: Run tests run: go test -race -count=1 -timeout 120s ./... @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: "1.26.6" + go-version: "1.27.0" # The testserver helper imports github.com/goceleris/celeris (pinned in # go.mod). Integration tests spawn it as a subprocess per matrix cell, # then drive loadgen against the live server via the library API. -race diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4ec071..71a04f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: "1.26.6" + go-version: "1.27.0" - name: Verify module run: | go mod verify @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: "1.26.6" + go-version: "1.27.0" - name: Build env: GOOS: ${{ matrix.goos }} diff --git a/go.mod b/go.mod index 6ad925f..370b76d 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ module github.com/goceleris/loadgen -go 1.26.4 +go 1.27.0 require ( github.com/HdrHistogram/hdrhistogram-go v1.3.0 - golang.org/x/net v0.57.0 + golang.org/x/net v0.58.0 ) -require golang.org/x/text v0.40.0 // indirect +require golang.org/x/text v0.41.0 // indirect diff --git a/go.sum b/go.sum index 088e95c..5c4811a 100644 --- a/go.sum +++ b/go.sum @@ -8,10 +8,10 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -golang.org/x/net v0.57.0 h1:K5+3DljvIuDG9/Jv9rvyMywYNFCQ9RSUY6OOTTkT+tE= -golang.org/x/net v0.57.0/go.mod h1:KpXc8iv+r3XplLAG/f7Jsf9RPszJzdR0f58q9vGOuEU= -golang.org/x/text v0.40.0 h1:Ub2Z6/xjgF1WrYQz2nuITOEegKFtiIy+rieRJ5lHZKs= -golang.org/x/text v0.40.0/go.mod h1:hpnzDAfGV753zIKo+wk3u1bVKCGPbrnF7+7LBF/UHVY= +golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= +golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= +golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= +golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk= gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/internal/integrationtest/testserver/go.mod b/internal/integrationtest/testserver/go.mod index a989f7d..40de460 100644 --- a/internal/integrationtest/testserver/go.mod +++ b/internal/integrationtest/testserver/go.mod @@ -1,11 +1,11 @@ module github.com/goceleris/loadgen/internal/integrationtest/testserver -go 1.26.4 +go 1.27.0 require github.com/goceleris/celeris v1.5.8 require ( - golang.org/x/net v0.56.0 // indirect - golang.org/x/sys v0.46.0 // indirect - golang.org/x/text v0.38.0 // indirect + golang.org/x/net v0.58.0 // indirect + golang.org/x/sys v0.47.0 // indirect + golang.org/x/text v0.41.0 // indirect ) diff --git a/internal/integrationtest/testserver/go.sum b/internal/integrationtest/testserver/go.sum index 4eb1ced..9cd706a 100644 --- a/internal/integrationtest/testserver/go.sum +++ b/internal/integrationtest/testserver/go.sum @@ -1,8 +1,8 @@ github.com/goceleris/celeris v1.5.8 h1:r2foO5AsCKSXGUQZThSEctYnSkPp3zzTckaFSs8L3dU= github.com/goceleris/celeris v1.5.8/go.mod h1:usrqjcfMxiNA4lFoE/YbEzX10+UFhoJ4JQVkAS7noSc= -golang.org/x/net v0.56.0 h1:Rw8j/hFzGvJUZwNBXnAtf5sVDVt+65SK2C7IxCxZt5o= -golang.org/x/net v0.56.0/go.mod h1:D3Ku6r+V6JROoZK144D2XfMHFcMq/0zSfLelVTCFKec= -golang.org/x/sys v0.46.0 h1:noSf2Fq6F8DBgS+LysIkx7rIExoNHJsxOAtPp4rthXw= -golang.org/x/sys v0.46.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/text v0.38.0 h1:sXmwo9DwP3OK9EZ7PqAdaooSGozfl/3a6/xJcbzPRhE= -golang.org/x/text v0.38.0/go.mod h1:YXZt3QhHUKYT53r2lLKFIVi6Ao1jdzrTR/KQ09qyxF4= +golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= +golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= +golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= +golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= +golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= From dbbb8acdbaca9e16077142d7eb4f64528779d45f Mon Sep 17 00:00:00 2001 From: Albert Bausili Date: Tue, 1 Sep 2026 18:44:11 +0200 Subject: [PATCH 2/2] ci: golangci-lint v2.12 -> v2.13 for the Go 1.27 toolchain v2.12 is built with Go 1.26 and refuses to run against a module targeting 1.27. v2.13 is built with go1.27.0. Lint is clean on it. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70ebc38..1d4d2b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: go-version: "1.27.0" - uses: golangci/golangci-lint-action@v9 with: - version: v2.12 + version: v2.13 - name: actionlint # Workflow-YAML lint: catches script-injection vectors, unknown # runner labels, malformed shell, action input misuse — the