From 9b231af7d8fcf4c6e43fc389fbdc4050d4265e32 Mon Sep 17 00:00:00 2001 From: Danny Date: Sat, 9 May 2026 00:49:59 -0700 Subject: [PATCH 1/2] chore: rename test_utils.go to test_utils_test.go The file contains only test helpers (referenced solely by _test.go files). Naming it test_utils.go made it part of the regular package build, which leaks test-only dependencies into production import paths. This unblocks consumers that import github.com/github/gh-ost/go/logic together with newer versions of testcontainers-go, whose Port type no longer exposes Int(). --- go/logic/{test_utils.go => test_utils_test.go} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename go/logic/{test_utils.go => test_utils_test.go} (100%) diff --git a/go/logic/test_utils.go b/go/logic/test_utils_test.go similarity index 100% rename from go/logic/test_utils.go rename to go/logic/test_utils_test.go From e9f252fadd88d3bcb60ad55d8b09e82bf1bfdafc Mon Sep 17 00:00:00 2001 From: Danny Date: Sat, 9 May 2026 00:57:34 -0700 Subject: [PATCH 2/2] chore: drop deprecated linters from golangci config `ifshort` is fully inactivated in golangci-lint v1.61.0 and causes the runner to exit with code 7. `execinquery` is also archived. Remove both so the lint job can complete. --- .golangci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index e4ee4ab5d..8be65e2ab 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,9 +11,7 @@ linters: - durationcheck - errname - errorlint - - execinquery - gofmt - - ifshort - misspell - nilerr - nilnil