This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 410d9d1e9 ci(lint): drop obsolete aws-sdk-go v1 exclusion for kiro 
(#9339)
410d9d1e9 is described below

commit 410d9d1e98fa8f188ed1e7707e2f84e377f96912
Author: Dirk <[email protected]>
AuthorDate: Sun Nov 8 15:26:38 2026 +0100

    ci(lint): drop obsolete aws-sdk-go v1 exclusion for kiro (#9339)
    
    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 <[email protected]>
---
 backend/.golangci.yaml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/backend/.golangci.yaml b/backend/.golangci.yaml
index e681671d2..278777a3a 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

Reply via email to