From cab60ef735b2edb900f8352d6246cbbe7ed8a205 Mon Sep 17 00:00:00 2001 From: shaw Date: Sat, 7 Mar 2026 23:10:03 +0800 Subject: [PATCH] fix(ci): downgrade golangci-lint v2.11 to v2.9 to fix lint timeout v2.10.1 introduced a recursive markDepsForAnalyzingSource change that causes all transitive dependencies (including 132K lines of ent generated code) to be analyzed from source instead of compiled export data, leading to >30 min CI timeout. v2.9.0 is the first version with Go 1.26 support (PR #6271, merged Feb 10 2026) and does not have this performance regression. --- .github/workflows/backend-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml index 785111ae..01c00bb9 100644 --- a/.github/workflows/backend-ci.yml +++ b/.github/workflows/backend-ci.yml @@ -42,6 +42,6 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v9 with: - version: v2.11 + version: v2.9 args: --timeout=30m working-directory: backend \ No newline at end of file