From 79486fdd00e0c8da4cf463fef932b0a3e4fc94fe Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 21 May 2026 06:24:44 +0000 Subject: [PATCH 1/2] chore(deps): update dependency go to 1.26 --- .github/workflows/internal_tests.yaml | 2 +- .github/workflows/planner_integration.yaml | 2 +- .github/workflows/webhook_gateway_integration.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/internal_tests.yaml b/.github/workflows/internal_tests.yaml index efa9e877..5e5e337f 100644 --- a/.github/workflows/internal_tests.yaml +++ b/.github/workflows/internal_tests.yaml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: 1.25 + go-version: 1.26 - name: Ensure No Formatting Changes run: | diff --git a/.github/workflows/planner_integration.yaml b/.github/workflows/planner_integration.yaml index a62716a2..9515379a 100644 --- a/.github/workflows/planner_integration.yaml +++ b/.github/workflows/planner_integration.yaml @@ -37,7 +37,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: 1.25 + go-version: 1.26 - name: Wait for rabbitmq run: | diff --git a/.github/workflows/webhook_gateway_integration.yaml b/.github/workflows/webhook_gateway_integration.yaml index 64374bee..fcfe9968 100644 --- a/.github/workflows/webhook_gateway_integration.yaml +++ b/.github/workflows/webhook_gateway_integration.yaml @@ -37,7 +37,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: 1.25 + go-version: 1.26 - name: Wait for rabbitmq run: | From 0917b100e891b97bbea75c6def86ba1fbe61dafe Mon Sep 17 00:00:00 2001 From: Christopher Bartz Date: Thu, 21 May 2026 08:40:43 +0200 Subject: [PATCH 2/2] fix(planner): update redirect status expectations for Go 1.26 Go 1.26 changed path-cleaning redirects in net/http from 301 to 307. --- internal/planner/server_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/planner/server_test.go b/internal/planner/server_test.go index 50c8eebf..49be66e7 100644 --- a/internal/planner/server_test.go +++ b/internal/planner/server_test.go @@ -660,7 +660,7 @@ func TestGetFlavorPressure(t *testing.T) { name: "shouldFailWhenNameMissing", method: http.MethodGet, url: "/api/v1/flavors//pressure", - expectedStatus: http.StatusMovedPermanently, + expectedStatus: http.StatusTemporaryRedirect, }, { name: "shouldFailForNonGetMethod", method: http.MethodPost, @@ -1178,7 +1178,7 @@ func TestGetJob(t *testing.T) { name: "shouldFailWhenPlatformMissing", method: http.MethodGet, url: "/api/v1/jobs//job-1", - expectedStatus: http.StatusMovedPermanently, + expectedStatus: http.StatusTemporaryRedirect, }, { name: "shouldFailOnDatabaseError", listJobsErr: errors.New("database error"), @@ -1476,7 +1476,7 @@ func TestUpdateJob(t *testing.T) { method: http.MethodPatch, url: "/api/v1/jobs//job-7", body: fmt.Sprintf(`{"started_at":"%s"}`, newStartedAt.Format(time.RFC3339Nano)), - expectedStatus: http.StatusMovedPermanently, + expectedStatus: http.StatusTemporaryRedirect, }, { name: "shouldFailWhenIdMissing", jobs: map[string]*database.Job{