From 2dd7b8c10bccb48203ddfcb2f5af105b3bc04f5b Mon Sep 17 00:00:00 2001 From: David M Date: Tue, 14 Apr 2026 10:49:30 +0300 Subject: [PATCH 1/2] Chore: bump go version --- .github/workflows/e2e.yaml | 2 +- .github/workflows/golangci-lint.yaml | 2 +- .github/workflows/main.yaml | 2 +- .github/workflows/pr.yaml | 2 +- go.mod | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 8738de77..395a173b 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -29,7 +29,7 @@ jobs: - name: Setup Go 1.26 uses: actions/setup-go@v5 with: - go-version: '1.26.1' + go-version: '1.26.2' - uses: azure/setup-kubectl@v4 - uses: azure/setup-helm@v4.2.0 diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 3e92db8d..4db6fcd3 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: '1.26.1' + go-version: '1.26.2' - uses: actions/checkout@v4 - name: golangci-lint run: make lint diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c9041a67..2ad9baed 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -23,7 +23,7 @@ jobs: - name: Setup Go 1.26 uses: actions/setup-go@v5 with: - go-version: '1.26.1' + go-version: '1.26.2' - name: Cache Go modules uses: actions/cache@v4 diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 6abc7ffd..0a3a5f5a 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -25,7 +25,7 @@ jobs: - name: Setup Go 1.26 uses: actions/setup-go@v5 with: - go-version: '1.26.1' + go-version: '1.26.2' - name: Cache Go modules uses: actions/cache@v4 diff --git a/go.mod b/go.mod index 7c5fe9c7..fa468078 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/castai/cluster-controller -go 1.26.1 +go 1.26.2 require ( github.com/bombsimon/logrusr/v4 v4.1.0 From d40080d5daaca4fc5ebd1e80e9a12b13a796c13f Mon Sep 17 00:00:00 2001 From: David M Date: Tue, 14 Apr 2026 11:01:35 +0300 Subject: [PATCH 2/2] increase test timing sensitivity --- internal/waitext/extensions_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/waitext/extensions_test.go b/internal/waitext/extensions_test.go index 1ee0ca35..77735903 100644 --- a/internal/waitext/extensions_test.go +++ b/internal/waitext/extensions_test.go @@ -77,7 +77,7 @@ func TestRetry(t *testing.T) { t.Log("wait time", waitTime) // We give some tolerance as we can't be precise to the nanosecond here. - r.InDelta(expectedWaitTimes[indexWaitTimes], waitTime, float64(2*time.Millisecond)) + r.InDelta(expectedWaitTimes[indexWaitTimes], waitTime, float64(5*time.Millisecond)) indexWaitTimes++ return true, errors.New("dummy")