From d0ec1c70fdadf87cb2b8f0290ae9eabd98e34dbe Mon Sep 17 00:00:00 2001 From: DoDiODev Date: Tue, 3 Nov 2026 10:34:07 +0100 Subject: [PATCH] ci(lint): drop obsolete aws-sdk-go v1 exclusion for kiro The staticcheck SA1019 exclusion for github.com/aws/aws-sdk-go in plugins/kiro/ was added in #9197 as a stopgap until kiro moved to aws-sdk-go-v2. That migration landed in #9233, and the backend no longer imports aws-sdk-go v1 at all, so the rule matches nothing. Remove it as its own comment asks, so a reintroduced v1 import is reported again. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- backend/.golangci.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/backend/.golangci.yaml b/backend/.golangci.yaml index e681671d212..278777a3a7d 100644 --- a/backend/.golangci.yaml +++ b/backend/.golangci.yaml @@ -239,13 +239,6 @@ linters: - linters: - revive path: plugins/([^hc].*|.[^eo].*|..[^lr].*|...[^pe].*|....[^e].*|.....[^r].*) - # aws-sdk-go v1 is end-of-support and its last release marks every - # package as deprecated. Tolerate that only for the kiro plugin until it - # is migrated to aws-sdk-go-v2; remove this rule afterwards. - - linters: - - staticcheck - path: plugins/kiro/ - text: 'SA1019: "?github.com/aws/aws-sdk-go/' # RawDataSubTaskArgs.Params is deprecated in favour of Options, but it is # JSON-encoded into _raw_data_params of every raw table. Migrating a # plugin changes that key and orphans existing raw data, so this needs a